From 937b62916ad2866f628701bbe2dca15d58669b1a Mon Sep 17 00:00:00 2001 From: h4de5 Date: Mon, 17 Jun 2024 21:57:06 +0200 Subject: [PATCH] Fix warning in HA. --- custom_components/toshiba_ac/climate.py | 1 + custom_components/toshiba_ac/manifest.json | 2 +- requirements.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/toshiba_ac/climate.py b/custom_components/toshiba_ac/climate.py index 3859bd6..47bb143 100644 --- a/custom_components/toshiba_ac/climate.py +++ b/custom_components/toshiba_ac/climate.py @@ -84,6 +84,7 @@ def __init__(self, toshiba_device: ToshibaAcDevice): """Initialize the climate.""" super().__init__(toshiba_device) + self._enable_turn_on_off_backwards_compatibility = False self._attr_unique_id = f"{self._device.ac_unique_id}_climate" self._attr_fan_modes = get_feature_list(self._device.supported.ac_fan_mode) self._attr_swing_modes = get_feature_list(self._device.supported.ac_swing_mode) diff --git a/custom_components/toshiba_ac/manifest.json b/custom_components/toshiba_ac/manifest.json index d56b482..b5c20fc 100644 --- a/custom_components/toshiba_ac/manifest.json +++ b/custom_components/toshiba_ac/manifest.json @@ -10,6 +10,6 @@ "issue_tracker": "https://github.com/h4de5/home-assistant-toshiba_ac/issues", "requirements": ["toshiba-ac==0.3.4","janus==1.0.0"], "ssdp": [], - "version": "2024.6.0", + "version": "2024.6.1", "zeroconf": [] } diff --git a/requirements.txt b/requirements.txt index 2e9b77f..02fc7c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ toshiba-ac==0.3.4 +janus==1.0.0 \ No newline at end of file