hristo-atanasov / Tasmota-IRHVAC

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

Implements device_state_attributes #54

Closed rexer78 closed 2 years ago

rexer78 commented 2 years ago

I have this warning in Home Assistant Log

Entity climate.clima_sala (<class 'custom_components.tasmota_irhvac.climate.TasmotaIrhvac'>) implements device_state_attributes. Please report it to the custom component author

Home assistant version : 2021.12.3

is possible to Fix it?

Thank you

hristo-atanasov commented 2 years ago

What version of the component are you using?

rexer78 commented 2 years ago

I have the latest version on hacs

nao-pon commented 2 years ago

@rexer78 This issue has already been fixed in Tasmota-IRHVAC 2021.12.18. It should have been fixed by restarting HA after updating to the latest version.

rexer78 commented 2 years ago

Now i have the version Tasmota-IRHVAC 2021.12.18 but now the climate non work this is my configuration

`climate:

can you help me? i downgrade the custom component to 2021.12.0 version and the climate restart to work

hristo-atanasov commented 2 years ago

@rexer78 What does the log say? Any errors or messages? After updating to the latest version?

rexer78 commented 2 years ago

the problem is this, that I have no errors in the log and on the mqtt broker the data is published correctly

hristo-atanasov commented 2 years ago

Put this in your config, restart HA and try to play with the AC again, then look in the logs: logger: default: error logs: custom_components.tasmota_irhvac: debug

hristo-atanasov commented 2 years ago

Iven if there are no errors, you can show us what the component is sending and what is receiving .. I looked through the code, commited after v2021.12.0, and we didn't changed anything that could break the functionality. One thing I see in your config is that there is indentation missmatch of supported_fan_speeds, supported_swing_list and the rest of the config. If they appear the same way in your config, this can break the integration. But It is possible this could be formating error only here in github, then this is not the problem.

nao-pon commented 2 years ago

@rexer78 , @hristo-atanasov #55 may be relevant.

rexer78 commented 2 years ago

Put this in your config, restart HA and try to play with the AC again, then look in the logs: logger: default: error logs: custom_components.tasmota_irhvac: debug

This is the log file

2021-12-21 15:11:32 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration dpc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration burze_dzis_net which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration meteoalarm_m which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration tasmota_irhvac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration ingv_centro_nazionale_terremoti which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration fullykiosk which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:32 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration attributes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-12-21 15:11:33 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'api', 'onboarding', 'websocket_api', 'system_log', 'cloud', 'frontend', 'analytics', 'person', 'image', 'config', 'webhook', 'search', 'device_automation', 'http', 'auth', 'lovelace'} 2021-12-21 15:11:33 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'google', 'tag', 'switch', 'rest_command', 'updater', 'automation', 'shell_command', 'panel_iframe', 'ifttt', 'system_health', 'climate', 'energy', 'input_number', 'binary_sensor', 'script', 'tts', 'fritzbox', 'co2signal', 'input_datetime', 'zeroconf', 'zone', 'spotcast', 'logbook', 'apcupsd', 'camera', 'notify', 'spotify', 'timer', 'openweathermap', 'pi_hole', 'persistent_notification', 'cast', 'network', 'utility_meter', 'mqtt', 'trace', 'netatmo', 'fullykiosk', 'cert_expiry', 'frigate', 'synology_dsm', 'weather', 'python_script', 'input_text', 'group', 'ssdp', 'webrtc', 'map', 'default_config', 'fritz', 'scene', 'geo_location', 'history', 'dhcp', 'mobile_app', 'input_select', 'media_player', 'hacs', 'nodered', 'xiaomi_miio', 'my', 'counter', 'gdacs', 'usb', 'input_boolean', 'media_extractor', 'broadlink', 'smartir', 'sensor', 'blueprint', 'media_source', 'telegram_bot', 'dpc', 'sun', 'template'} 2021-12-21 15:11:52 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 19.45s 2021-12-21 15:12:27 DEBUG (MainThread) [custom_components.tasmota_irhvac.climate] Unable to update from sensor: could not convert string to float: 'unknown' 2021-12-21 15:12:27 DEBUG (MainThread) [custom_components.tasmota_irhvac.climate] Unable to update from sensor: could not convert string to float: 'unknown' 2021-12-21 15:13:59 DEBUG (MainThread) [custom_components.tasmota_irhvac.climate] {'IrReceived': {'Protocol': 'UNKNOWN', 'Bits': 4, 'Hash': '0x1D2F0E72', 'Repeat': 0}} 2021-12-21 15:13:59 DEBUG (MainThread) [custom_components.tasmota_irhvac.climate] {'IrReceived': {'Protocol': 'UNKNOWN', 'Bits': 5, 'Hash': '0x22F22D63', 'Repeat': 0}}

and attach the screen of mqtt explorer

Schermata 2021-12-21 alle 15 21 14

rexer78 commented 2 years ago

i have tasmota 9.2 version is a problem? i don't now if i can upgrade whitout problem

nao-pon commented 2 years ago

Please check out https://github.com/hristo-atanasov/Tasmota-IRHVAC/issues/55#issuecomment-998832930 .

rexer78 commented 2 years ago

Please check out #55 (comment) .

I try your solution but is not working for me

nao-pon commented 2 years ago

Please subscribe to the topic "+/+/LWT" in MQTT and let us know your listening results.

rexer78 commented 2 years ago

Please subscribe to the topic "+/+/LWT" in MQTT and let us know your listening results.

if i subscribe the topic "+/+/LWT" i have same result but noting from the climate, do i have to set something in tasmota? the version is 9.2

rexer78 commented 2 years ago

I upgrade Tasmota-ir to version 10.1.0 and now it work. Thank you

hristo-atanasov commented 2 years ago

Nice! I'm glad you've manage to solve it.