hristo-atanasov / Tasmota-IRHVAC

Home Assistant platform for controlling IR Air Conditioners via Tasmota IRHVAC command and compatible hardware
186 stars 64 forks source link

Hassio update 2024.04.0 #135

Closed riddik14 closed 3 months ago

riddik14 commented 3 months ago

Registratore: homeassistant.components.climate Fonte: helpers/entity_platform.py:580 Integrazione: Climatizzatore (documentazione, problemi) Prima occorrenza: 22:38:31 (1 occorrenze) Ultima registrazione: 22:38:31

Error adding entity climate.raffreddamento for domain climate with platform tasmota_irhvac Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 580, in _async_add_entities await coro File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 881, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1333, in add_to_platform_finish await self.async_added_to_hass() File "/config/custom_components/tasmota_irhvac/climate.py", line 552, in async_added_to_hass await super().async_added_to_hass() File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 588, in async_added_to_hass self._availability_prepare_subscribe_topics() File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 639, in _availability_prepare_subscribe_topics @log_messages(self.hass, self.entity_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/mqtt/debug_info.py", line 29, in log_messages debug_info_entities = get_mqtt_data(hass).debug_info_entities ^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/mqtt/util.py", line 222, in get_mqtt_data mqtt_data = hass.data[DATA_MQTT]


KeyError: 'mqtt'
riddik14 commented 3 months ago

Deprecate function in code climate. I have removed it and now work

riddik14 commented 3 months ago