Closed varet80 closed 4 years ago
Hey there @home-assistant/core, mind taking a look at this issue as its been labeled with a integration (mqtt
) you are listed as a codeowner for? Thanks!
Linked the question started on zwave2mqtt before opening this issue. That also have examples of what we found while trying to understand what is happening.
Hi, I have a similar case.
I have more than 50 MQTT devices. Mostly Zigbee2mqtt and a couple of Tasmoto MQTT devices. Since (I think HA 0.105) a couple of weeks, the Home assistant MQTT integration doesn't works any more. All sensor entities (like temperature, pressure, linkquality, illuminance) report the state null or unknown. Lights have the state OFF. If I change the state of a light to ON, the state will go to OFF within a few seconds (although the light itself will switch ON!). I am still able to adjust the light brightness from the Home assistant UI, but the brightness slider itself point to zero.
My MQTT server (running in docker) seems to work well. If I subscribe to topic homeassistant/# it returns all my MQTT devices (full output with all devices here: https://pastebin.com/0jNnY5qw):
$ mqtt subscribe -h MQTTIPADDRESS -u admin -P PASSWORD -v -t "homeassistant/#"
homeassistant/sensor/0x00158d00027257cd/temperature/config {"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}",
"state_topic":"zigbee2mqtt/omgevingssensorkamerstijn","json_attributes_topic":"zigbee2mqtt/omgevingssensorkamerstijn",
"name":"omgevingssensorkamerstijn_temperature","unique_id":"0x00158d00027257cd_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d00027257cd"],
"name":"omgevingssensorkamerstijn","sw_version":"Zigbee2mqtt 1.11.0-dev",
"model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}
<end-of-snipped>
Also from the Home assistant UI I can subscribe to topics on my MQTT server. For example: This way I am able to see all my MQTT devices.
I turned on this log settings:
default: info
logs:
homeassistant.components.mqtt: debug
My full home assistant log: https://pastebin.com/pWRAtdgU
Just after restarting Home assistant I see this ERROR in the log (not sure if this is related to the MQTT integration issue):
mrt 05 19:45:50 : 2020-03-05 19:45:50 INFO (SyncWorker_4) [homeassistant.loader] Loaded transmission from homeassistant.components.transmission
mrt 05 19:45:50 : 2020-03-05 19:45:50 INFO (SyncWorker_7) [homeassistant.loader] Loaded glances from homeassistant.components.glances
mrt 05 19:45:50 : 2020-03-05 19:45:50 INFO (SyncWorker_8) [homeassistant.loader] Loaded garmin_connect from homeassistant.components.garmin_connect
mrt 05 19:45:50 : 2020-03-05 19:45:50 INFO (SyncWorker_9) [homeassistant.loader] Loaded adguard from homeassistant.components.adguard
mrt 05 19:46:09 : 2020-03-05 19:46:09 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
mrt 05 19:46:09 : Traceback (most recent call last):
mrt 05 19:46:09 : File "/usr/src/homeassistant/homeassistant/components/discovery/__init__.py", line 204, in scan_devices
mrt 05 19:46:09 : results = await hass.async_add_job(_discover, netdisco)
mrt 05 19:46:09 : File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
mrt 05 19:46:09 : result = self.fn(*self.args, **self.kwargs)
mrt 05 19:46:09 : File "/usr/src/homeassistant/homeassistant/components/discovery/__init__.py", line 232, in _discover
mrt 05 19:46:09 : for service in netdisco.get_info(disc):
mrt 05 19:46:09 : File "/usr/local/lib/python3.7/site-packages/netdisco/discovery.py", line 104, in get_info
mrt 05 19:46:09 : return self.discoverables[dis].get_info()
mrt 05 19:46:09 : File "/usr/local/lib/python3.7/site-packages/netdisco/discoverables/__init__.py", line 28, in get_info
mrt 05 19:46:09 : return [self.info_from_entry(entry) for entry in self.get_entries()]
mrt 05 19:46:09 : File "/usr/local/lib/python3.7/site-packages/netdisco/discoverables/__init__.py", line 28, in <listcomp>
mrt 05 19:46:09 : return [self.info_from_entry(entry) for entry in self.get_entries()]
mrt 05 19:46:09 : File "/usr/local/lib/python3.7/site-packages/netdisco/discoverables/samsung_tv.py", line 22, in info_from_entry
mrt 05 19:46:09 : if info[ATTR_NAME].startswith(FORCED_NAME_PREFIX):
mrt 05 19:46:09 : KeyError: 'name'
mrt 05 19:46:26 : 2020-03-05 19:46:26 INFO (MainThread) [homeassistant.components.automation] Executing name entered zone
Here my full home assistant log with core & mqtt debug: https://pastebin.com/twUpC3LN
Here an UI example. The light shows OFF, although it is on. If I swipe it ON, the switch will move back to OFF. The brightness slider position does not reflect the brightness of the light, although I can still adjust the brightness. As you can see, Tasmoto MQTT devices do not work as well.
My MQTT integration shows all my MQTT devices:
Here an example of a Xiaomi temperature, pressure, humidity sensor in the MQTT integration. All entity show null or unknown:
Here an example of a Xiaomi motion sensor, illuminance entity in the developers tools, shows null:
Here an example of a Xiaomi motion sensor, battery entity in the developer tools, shows null:
Here my zigbee2mqtt map, shows mqtt works well:
Here my zigbee2mqtt devices using zigbee2mqtt-assistant.pdf
My home assistant configuration.yaml
mqtt config:
broker: MQTTIPADDRESS
discovery_prefix: homeassistant
discovery: true
username: !secret mqtt_username
password: !secret mqtt_password
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
I have the same issue with all my Tasmota devices...none show up in the device list for the MQTT integrations - one did show up in version 107, but now none
@billiaz You write that "MQTT Integration reverts values to null when rediscovering the already discovered integration", does it happen for all entities or only for the climate entity in the screenshot?
@tedsluis can you capture a log where you turn light on/off or set dim level, the log you pasted includes only the discovery
@MSJocke Please provide a homeassistant startup log to help debug why they don't show up. Also, have you enabled "setoption19 1" on the tasmotas?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I'm still facing with same issue with MQTT HVAC. Other MQTT entities are not affected. Related part of log:
2020-08-03 12:08:26 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/status: b'offline'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/mode: b'cool'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/away: b'OFF'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/target: b'24.0'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/status: b'online'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/action: b'idle'
2020-08-03 12:08:36 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/climate/thermostat/thermostat/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"definitio"},"unique_id":"thermostat","name":"thermostat","min_temp":19,"max_temp":30,"temp_step":0.5,"modes":["cool","heat","off"],"~":"home/thermostat","action_topic":"~/action","mode_state_topic":"~/mode","mode_command_topic":"~/mode/set","payload_on":"ON","payload_off":"OFF","current_temperature_topic":"home/sensor/temperature","temperature_state_topic":"~/target","temperature_command_topic":"~/target/set","away_mode_state_topic":"~/away","away_mode_command_topic":"~/away/set","qos":1}'
2020-08-03 12:08:36 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: climate thermostat thermostat, sending update
2020-08-03 12:08:36 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('climate', 'thermostat thermostat') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'definitio'}, 'unique_id': 'thermostat', 'name': 'thermostat', 'min_temp': 19, 'max_temp': 30, 'temp_step': 0.5, 'modes': ['cool', 'heat', 'off'], 'action_topic': 'home/thermostat/action', 'mode_state_topic': 'home/thermostat/mode', 'mode_command_topic': 'home/thermostat/mode/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'current_temperature_topic': 'home/sensor/temperature', 'temperature_state_topic': 'home/thermostat/target', 'temperature_command_topic': 'home/thermostat/target/set', 'away_mode_state_topic': 'home/thermostat/away', 'away_mode_command_topic': 'home/thermostat/away/set', 'qos': 1, 'platform': 'mqtt'}'
2020-08-03 12:08:36 INFO (MainThread) [homeassistant.components.mqtt] Updating component: climate.thermostat
Full log: home-assistant.log
@definitio This issue became a bit messy with several users reporting different problems. Can you confirm exactly which issue you meet?
Also, can you reproduce again with both core and MQTT debug logging enabled please:
logger:
default: info
logs:
homeassistant.core: debug
homeassistant.components.mqtt: debug
Edit: Do you mean you get the same issue as @billiaz "MQTT Integration reverts values to null when rediscovering the already discovered integration." ?
@emontnemery My issue: MQTT HVAC state changes to 'unknown' when rediscovering already discovered integration. Normal state:
State: cool
Attributes:
hvac_modes: cool, heat, off
min_temp: 19
max_temp: 30
target_temp_step: 0.5
preset_modes: none, away
current_temperature: 23.5
temperature: null
hvac_action: idle
preset_mode: null
friendly_name: thermostat
supported_features: 17
After rediscovering:
State: unknown
Attributes:
hvac_modes: cool, heat, off
min_temp: 19
max_temp: 30
target_temp_step: 0.5
preset_modes: none, away
current_temperature: 23.8
temperature: null
preset_mode: null
friendly_name: thermostat
supported_features: 17
Log since HVAC device disconnect:
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/status: b'offline'
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_humidity, old_state=<state sensor.hallway_humidity=40.8; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:37:33.606037+04:00>, new_state=<state sensor.hallway_humidity=unavailable; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:38:10.793467+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.lroom2_temperature, old_state=<state sensor.lroom2_temperature=23.1; unit_of_measurement=°C, friendly_name=Зал 2, device_class=temperature @ 2020-08-04T16:37:25.097318+04:00>, new_state=<state sensor.lroom2_temperature=unavailable; unit_of_measurement=°C, friendly_name=Зал 2, device_class=temperature @ 2020-08-04T16:38:10.793777+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_temperature, old_state=<state sensor.hallway_temperature=23.8; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:37:33.617682+04:00>, new_state=<state sensor.hallway_temperature=unavailable; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:38:10.794062+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_dew_point, old_state=<state sensor.hallway_dew_point=11.0; unit_of_measurement=°C, friendly_name=Прихожая - точка росы, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:37:33.602643+04:00>, new_state=<state sensor.hallway_dew_point=unavailable; unit_of_measurement=°C, friendly_name=Прихожая - точка росы, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.794306+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.home_temperature, old_state=<state sensor.home_temperature=23.8; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:37:33.609926+04:00>, new_state=<state sensor.home_temperature=unavailable; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:38:10.794531+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.device_target_temperature, old_state=<state sensor.device_target_temperature=24; unit_of_measurement=°C, friendly_name=Целевая температура, device_class=temperature @ 2020-08-04T16:37:25.116399+04:00>, new_state=<state sensor.device_target_temperature=unavailable; unit_of_measurement=°C, friendly_name=Целевая температура, device_class=temperature @ 2020-08-04T16:38:10.794743+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.flow_temperature, old_state=<state sensor.flow_temperature=27.5; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:37:25.120918+04:00>, new_state=<state sensor.flow_temperature=unavailable; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.794948+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.return_temperature, old_state=<state sensor.return_temperature=28.5; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:37:25.124462+04:00>, new_state=<state sensor.return_temperature=unavailable; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.795151+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.outside_temperature, old_state=<state sensor.outside_temperature=27.0; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:37:33.613804+04:00>, new_state=<state sensor.outside_temperature=unavailable; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:38:10.795393+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.thermostat, old_state=<state climate.thermostat=cool; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.8, temperature=24.0, hvac_action=cooling, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:37:29.795417+04:00>, new_state=<state climate.thermostat=unavailable; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:10.797732+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.offline, old_state=<state automation.offline=on; last_triggered=2020-08-04T16:37:35.312482+04:00, mode=queued, max=10, current=0, friendly_name=offline @ 2020-08-04T16:37:17.027785+04:00>, new_state=<state automation.offline=on; last_triggered=2020-08-04T16:38:10.798809+04:00, mode=queued, max=10, current=0, friendly_name=offline @ 2020-08-04T16:37:17.027785+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=offline, entity_id=automation.offline>
2020-08-04 16:38:10 INFO (MainThread) [homeassistant.components.automation] Executing offline
2020-08-04 16:38:10 INFO (MainThread) [homeassistant.components.automation] offline: Running script
2020-08-04 16:38:10 INFO (MainThread) [homeassistant.components.automation] offline: Executing step call service
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=python_script, service=persistent_notification, service_data=action=show, notification_id=homethermostatstatus, title=Критическая ошибка, message=thermostat (home)>
2020-08-04 16:38:10 INFO (SyncWorker_11) [homeassistant.components.python_script] Executing persistent_notification.py: {'action': 'show', 'notification_id': 'homethermostatstatus', 'title': 'Критическая ошибка', 'message': 'thermostat (home)'}
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=notification_id=homethermostatstatus, title=Критическая ошибка, message=thermostat (home)>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.homethermostatstatus, old_state=None, new_state=<state persistent_notification.homethermostatstatus=notifying; title=Критическая ошибка, message=thermostat (home) @ 2020-08-04T16:38:10.833618+04:00>>
2020-08-04 16:38:10 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event persistent_notifications_updated[L]>
2020-08-04 16:38:12 INFO (MainThread) [homeassistant.components.kodi.media_player] Unable to connect to Kodi via websocket
2020-08-04 16:38:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.lroom_tv, old_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2282, media_position_updated_at=2020-08-04T16:38:02.568818+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>, new_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2292, media_position_updated_at=2020-08-04T16:38:12.565806+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>>
2020-08-04 16:38:12 ERROR (SyncWorker_0) [homeassistant.components.onvif] Fetch snapshot image failed from Улица (низ) - камера, falling back to FFmpeg; HTTPConnectionPool(host='front_yard_cam.lan', port=80): Read timed out. (read timeout=5)
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/mode: b'cool'
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/away: b'OFF'
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/target: b'24.0'
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/status: b'online'
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_humidity, old_state=<state sensor.hallway_humidity=unavailable; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:38:10.793467+04:00>, new_state=<state sensor.hallway_humidity=40.8; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:38:14.980093+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.lroom2_temperature, old_state=<state sensor.lroom2_temperature=unavailable; unit_of_measurement=°C, friendly_name=Зал 2, device_class=temperature @ 2020-08-04T16:38:10.793777+04:00>, new_state=<state sensor.lroom2_temperature=23.1; unit_of_measurement=°C, friendly_name=Зал 2, device_class=temperature @ 2020-08-04T16:38:14.980427+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_temperature, old_state=<state sensor.hallway_temperature=unavailable; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:38:10.794062+04:00>, new_state=<state sensor.hallway_temperature=23.8; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:38:14.980750+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_dew_point, old_state=<state sensor.hallway_dew_point=unavailable; unit_of_measurement=°C, friendly_name=Прихожая - точка росы, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.794306+04:00>, new_state=<state sensor.hallway_dew_point=11.0; unit_of_measurement=°C, friendly_name=Прихожая - точка росы, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:14.980989+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.home_temperature, old_state=<state sensor.home_temperature=unavailable; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:38:10.794531+04:00>, new_state=<state sensor.home_temperature=23.8; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:38:14.981244+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.device_target_temperature, old_state=<state sensor.device_target_temperature=unavailable; unit_of_measurement=°C, friendly_name=Целевая температура, device_class=temperature @ 2020-08-04T16:38:10.794743+04:00>, new_state=<state sensor.device_target_temperature=24; unit_of_measurement=°C, friendly_name=Целевая температура, device_class=temperature @ 2020-08-04T16:38:14.981488+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.flow_temperature, old_state=<state sensor.flow_temperature=unavailable; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.794948+04:00>, new_state=<state sensor.flow_temperature=27.5; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:14.981720+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.return_temperature, old_state=<state sensor.return_temperature=unavailable; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:10.795151+04:00>, new_state=<state sensor.return_temperature=28.5; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:14.981955+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.outside_temperature, old_state=<state sensor.outside_temperature=unavailable; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:38:10.795393+04:00>, new_state=<state sensor.outside_temperature=27.0; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:38:14.982235+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.thermostat, old_state=<state climate.thermostat=unavailable; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:10.797732+04:00>, new_state=<state climate.thermostat=cool; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.8, temperature=24.0, hvac_action=cooling, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:14.984941+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=automation.offline, old_state=<state automation.offline=on; last_triggered=2020-08-04T16:38:10.798809+04:00, mode=queued, max=10, current=0, friendly_name=offline @ 2020-08-04T16:37:17.027785+04:00>, new_state=<state automation.offline=on; last_triggered=2020-08-04T16:38:14.987036+04:00, mode=queued, max=10, current=0, friendly_name=offline @ 2020-08-04T16:37:17.027785+04:00>>
2020-08-04 16:38:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event automation_triggered[L]: name=offline, entity_id=automation.offline>
2020-08-04 16:38:14 INFO (MainThread) [homeassistant.components.automation] Executing offline
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/action: b'cooling'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.automation] offline: Running script
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.automation] offline: Executing step call service
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=python_script, service=persistent_notification, service_data=action=hide, notification_id=homethermostatstatus, title=Критическая ошибка, message=thermostat (home)>
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/climate/thermostat/thermostat/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"thermostat","name":"thermostat","min_temp":19,"max_temp":30,"temp_step":0.5,"modes":["cool","heat","off"],"~":"home/thermostat","action_topic":"~/action","mode_state_topic":"~/mode","mode_command_topic":"~/mode/set","payload_on":"ON","payload_off":"OFF","current_temperature_topic":"home/sensor/temperature","temperature_state_topic":"~/target","temperature_command_topic":"~/target/set","away_mode_state_topic":"~/away","away_mode_command_topic":"~/away/set","qos":1}'
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/hallway_dew_point/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"hallway_dew_point","name":"hallway_dew_point","device_class":"temperature","state_topic":"hallway/sensor/dew_point","unit_of_measurement":"\\u00b0C","icon":"mdi:thermometer-lines","expire_after":43200}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: climate thermostat thermostat, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat hallway_dew_point, sending update
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/hallway_humidity/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"hallway_humidity","name":"hallway_humidity","device_class":"humidity","state_topic":"hallway/sensor/humidity","unit_of_measurement":"%","expire_after":43200}'
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/flow_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"flow_temperature","name":"flow_temperature","device_class":"temperature","state_topic":"home/thermostat/flow_temperature","unit_of_measurement":"\\u00b0C","icon":"mdi:thermometer-lines","expire_after":43200}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('climate', 'thermostat thermostat') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'thermostat', 'name': 'thermostat', 'min_temp': 19, 'max_temp': 30, 'temp_step': 0.5, 'modes': ['cool', 'heat', 'off'], 'action_topic': 'home/thermostat/action', 'mode_state_topic': 'home/thermostat/mode', 'mode_command_topic': 'home/thermostat/mode/set', 'payload_on': 'ON', 'payload_off': 'OFF', 'current_temperature_topic': 'home/sensor/temperature', 'temperature_state_topic': 'home/thermostat/target', 'temperature_command_topic': 'home/thermostat/target/set', 'away_mode_state_topic': 'home/thermostat/away', 'away_mode_command_topic': 'home/thermostat/away/set', 'qos': 1, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: climate.thermostat
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.thermostat, old_state=<state climate.thermostat=cool; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.8, temperature=24.0, hvac_action=cooling, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:14.984941+04:00>, new_state=<state climate.thermostat=unknown; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.8, temperature=None, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:15.035981+04:00>>
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat hallway_dew_point') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'hallway_dew_point', 'name': 'hallway_dew_point', 'device_class': 'temperature', 'state_topic': 'hallway/sensor/dew_point', 'unit_of_measurement': '°C', 'icon': 'mdi:thermometer-lines', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.hallway_dew_point
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat hallway_humidity, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat flow_temperature, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat hallway_humidity') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'hallway_humidity', 'name': 'hallway_humidity', 'device_class': 'humidity', 'state_topic': 'hallway/sensor/humidity', 'unit_of_measurement': '%', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.hallway_humidity
2020-08-04 16:38:15 INFO (SyncWorker_11) [homeassistant.components.python_script] Executing persistent_notification.py: {'action': 'hide', 'notification_id': 'homethermostatstatus', 'title': 'Критическая ошибка', 'message': 'thermostat (home)'}
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/device_target_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"device_target_temperature","name":"device_target_temperature","device_class":"temperature","state_topic":"home/thermostat/device_target_temperature","unit_of_measurement":"\\u00b0C"}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat flow_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'flow_temperature', 'name': 'flow_temperature', 'device_class': 'temperature', 'state_topic': 'home/thermostat/flow_temperature', 'unit_of_measurement': '°C', 'icon': 'mdi:thermometer-lines', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.flow_temperature
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat device_target_temperature, sending update
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/home_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"home_temperature","name":"home_temperature","device_class":"temperature","state_topic":"home/sensor/temperature","unit_of_measurement":"\\u00b0C","expire_after":43200}'
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=dismiss, service_data=notification_id=homethermostatstatus>
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat device_target_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'device_target_temperature', 'name': 'device_target_temperature', 'device_class': 'temperature', 'state_topic': 'home/thermostat/device_target_temperature', 'unit_of_measurement': '°C', 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.device_target_temperature
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/outside_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"outside_temperature","name":"outside_temperature","device_class":"temperature","state_topic":"outside/sensor/temperature","unit_of_measurement":"\\u00b0C","expire_after":43200}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat home_temperature, sending update
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.homethermostatstatus, old_state=<state persistent_notification.homethermostatstatus=notifying; title=Критическая ошибка, message=thermostat (home) @ 2020-08-04T16:38:10.833618+04:00>, new_state=None>
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event persistent_notifications_updated[L]>
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/return_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"return_temperature","name":"return_temperature","device_class":"temperature","state_topic":"home/thermostat/return_temperature","unit_of_measurement":"\\u00b0C","icon":"mdi:thermometer-lines","expire_after":43200}'
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/hallway_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"hallway_temperature","name":"hallway_temperature","device_class":"temperature","state_topic":"hallway/sensor/temperature","unit_of_measurement":"\\u00b0C","expire_after":43200}'
2020-08-04 16:38:15 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/thermostat/lroom2_temperature/config: b'{"availability_topic":"home/thermostat/status","device":{"name":"thermostat","identifiers":"thermostat","sw_version":"730eec0","manufacturer":"lyubimov@pm.me"},"unique_id":"lroom2_temperature","name":"lroom2_temperature","device_class":"temperature","state_topic":"lroom2/sensor/temperature","unit_of_measurement":"\\u00b0C","expire_after":43200}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat outside_temperature, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat home_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'home_temperature', 'name': 'home_temperature', 'device_class': 'temperature', 'state_topic': 'home/sensor/temperature', 'unit_of_measurement': '°C', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.home_temperature
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat return_temperature, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat hallway_temperature, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor thermostat lroom2_temperature, sending update
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat outside_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'outside_temperature', 'name': 'outside_temperature', 'device_class': 'temperature', 'state_topic': 'outside/sensor/temperature', 'unit_of_measurement': '°C', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.outside_temperature
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat return_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'return_temperature', 'name': 'return_temperature', 'device_class': 'temperature', 'state_topic': 'home/thermostat/return_temperature', 'unit_of_measurement': '°C', 'icon': 'mdi:thermometer-lines', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.return_temperature
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat hallway_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'hallway_temperature', 'name': 'hallway_temperature', 'device_class': 'temperature', 'state_topic': 'hallway/sensor/temperature', 'unit_of_measurement': '°C', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.hallway_temperature
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Got update for entity with hash: ('sensor', 'thermostat lroom2_temperature') '{'availability_topic': 'home/thermostat/status', 'device': {'name': 'thermostat', 'identifiers': 'thermostat', 'sw_version': '730eec0', 'manufacturer': 'lyubimov@pm.me'}, 'unique_id': 'lroom2_temperature', 'name': 'lroom2_temperature', 'device_class': 'temperature', 'state_topic': 'lroom2/sensor/temperature', 'unit_of_measurement': '°C', 'expire_after': 43200, 'platform': 'mqtt'}'
2020-08-04 16:38:15 INFO (MainThread) [homeassistant.components.mqtt] Updating component: sensor.lroom2_temperature
2020-08-04 16:38:17 INFO (SyncWorker_7) [homeassistant.components.ubus.device_tracker] Checking hostapd
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on hallway/sensor/dew_point: b'11.0'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on hallway/sensor/humidity: b'40.6'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_humidity, old_state=<state sensor.hallway_humidity=40.8; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:38:14.980093+04:00>, new_state=<state sensor.hallway_humidity=40.6; unit_of_measurement=%, friendly_name=Прихожая, device_class=humidity @ 2020-08-04T16:38:19.529052+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/flow_temperature: b'27.38'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.flow_temperature, old_state=<state sensor.flow_temperature=27.5; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:14.981720+04:00>, new_state=<state sensor.flow_temperature=27.38; unit_of_measurement=°C, friendly_name=Теплоноситель - подача, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:19.532150+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/device_target_temperature: b'24'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/sensor/temperature: b'23.5'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.home_temperature, old_state=<state sensor.home_temperature=23.8; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:38:14.981244+04:00>, new_state=<state sensor.home_temperature=23.5; unit_of_measurement=°C, friendly_name=Дом, device_class=temperature @ 2020-08-04T16:38:19.543587+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.thermostat, old_state=<state climate.thermostat=unknown; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.8, temperature=None, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:15.035981+04:00>, new_state=<state climate.thermostat=unknown; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.5, temperature=None, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:15.035981+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on outside/sensor/temperature: b'27.1'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.outside_temperature, old_state=<state sensor.outside_temperature=27.0; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:38:14.982235+04:00>, new_state=<state sensor.outside_temperature=27.1; unit_of_measurement=°C, friendly_name=Улица, device_class=temperature @ 2020-08-04T16:38:19.546766+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/return_temperature: b'28.38'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.return_temperature, old_state=<state sensor.return_temperature=28.5; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:14.981955+04:00>, new_state=<state sensor.return_temperature=28.38; unit_of_measurement=°C, friendly_name=Теплоноситель - возврат, icon=mdi:thermometer-lines, device_class=temperature @ 2020-08-04T16:38:19.549287+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on hallway/sensor/temperature: b'23.5'
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_temperature, old_state=<state sensor.hallway_temperature=23.8; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:38:14.980750+04:00>, new_state=<state sensor.hallway_temperature=23.5; unit_of_measurement=°C, friendly_name=Прихожая, device_class=temperature @ 2020-08-04T16:38:19.552428+04:00>>
2020-08-04 16:38:19 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on lroom2/sensor/temperature: b'23.1'
2020-08-04 16:38:20 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on home/thermostat/action: b'idle'
2020-08-04 16:38:20 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.thermostat, old_state=<state climate.thermostat=unknown; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.5, temperature=None, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:15.035981+04:00>, new_state=<state climate.thermostat=unknown; hvac_modes=['cool', 'heat', 'off'], min_temp=19.0, max_temp=30.0, target_temp_step=0.5, preset_modes=['none', 'away'], current_temperature=23.5, temperature=None, hvac_action=idle, preset_mode=None, friendly_name=thermostat, supported_features=17 @ 2020-08-04T16:38:15.035981+04:00>>
2020-08-04 16:38:22 INFO (MainThread) [homeassistant.components.kodi.media_player] Unable to connect to Kodi via websocket
2020-08-04 16:38:22 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.lroom_tv, old_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2292, media_position_updated_at=2020-08-04T16:38:12.565806+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>, new_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2302, media_position_updated_at=2020-08-04T16:38:22.565419+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>>
2020-08-04 16:38:23 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.ups_input_voltage, old_state=<state sensor.ups_input_voltage=224.6 ; unit_of_measurement=V, friendly_name=UPS Input Voltage, icon=mdi:flash @ 2020-08-04T16:37:23.675789+04:00>, new_state=<state sensor.ups_input_voltage=227.5 ; unit_of_measurement=V, friendly_name=UPS Input Voltage, icon=mdi:flash @ 2020-08-04T16:38:23.703875+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on zigbee/serverroom_switch: b'{"state_left":"OFF","linkquality":113,"power":0,"consumption":1.59,"temperature":29,"state_right":"OFF"}'
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on zigbee/serverroom_switch: b'{"state_left":"OFF","linkquality":113,"power":0,"consumption":1.59,"temperature":29,"state_right":"OFF","click":""}'
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.serverroom_switch_switch_left, old_state=<state switch.serverroom_switch_switch_left=off; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, friendly_name=Серверная - выключатель_left @ 2020-08-04T16:37:24.385639+04:00>, new_state=<state switch.serverroom_switch_switch_left=off; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, friendly_name=Серверная - выключатель_left @ 2020-08-04T16:37:24.385639+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.serverroom_switch_switch_right, old_state=<state switch.serverroom_switch_switch_right=off; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, friendly_name=Серверная - выключатель_right @ 2020-08-04T16:37:24.385873+04:00>, new_state=<state switch.serverroom_switch_switch_right=off; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, friendly_name=Серверная - выключатель_right @ 2020-08-04T16:37:24.385873+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.serverroom_switch_power, old_state=<state sensor.serverroom_switch_power=0; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, unit_of_measurement=W, friendly_name=Серверная - выключатель, icon=mdi:flash @ 2020-08-04T16:37:53.843017+04:00>, new_state=<state sensor.serverroom_switch_power=0; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, unit_of_measurement=W, friendly_name=Серверная - выключатель, icon=mdi:flash @ 2020-08-04T16:37:53.843017+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.serverroom_switch_click, old_state=<state sensor.serverroom_switch_click=; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, friendly_name=Серверная - выключатель, icon=mdi:toggle-switch @ 2020-08-04T16:37:53.843252+04:00>, new_state=<state sensor.serverroom_switch_click=; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, friendly_name=Серверная - выключатель, icon=mdi:toggle-switch @ 2020-08-04T16:37:53.843252+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.serverroom_switch_temperature, old_state=<state sensor.serverroom_switch_temperature=29; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, unit_of_measurement=°C, friendly_name=Серверная - выключатель_temperature, device_class=temperature @ 2020-08-04T16:37:53.843479+04:00>, new_state=<state sensor.serverroom_switch_temperature=29; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, unit_of_measurement=°C, friendly_name=Серверная - выключатель_temperature, device_class=temperature @ 2020-08-04T16:37:53.843479+04:00>>
2020-08-04 16:38:25 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.serverroom_switch_linkquality, old_state=<state sensor.serverroom_switch_linkquality=113; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, unit_of_measurement=lqi, friendly_name=Серверная - выключатель, icon=mdi:signal @ 2020-08-04T16:37:53.843730+04:00>, new_state=<state sensor.serverroom_switch_linkquality=113; state_left=OFF, linkquality=113, power=0, consumption=1.59, temperature=29, state_right=OFF, click=, unit_of_measurement=lqi, friendly_name=Серверная - выключатель, icon=mdi:signal @ 2020-08-04T16:37:53.843730+04:00>>
2020-08-04 16:38:28 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on zigbee/hallway_zrouter: b'{"led":false,"linkquality":13}'
2020-08-04 16:38:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_zrouter_linkquality, old_state=<state sensor.hallway_zrouter_linkquality=10; led=False, linkquality=10, unit_of_measurement=lqi, friendly_name=hallway_zrouter_linkquality, icon=mdi:signal @ 2020-08-04T16:37:28.362670+04:00>, new_state=<state sensor.hallway_zrouter_linkquality=10; led=False, linkquality=13, unit_of_measurement=lqi, friendly_name=hallway_zrouter_linkquality, icon=mdi:signal @ 2020-08-04T16:37:28.362670+04:00>>
2020-08-04 16:38:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.hallway_zrouter_led, old_state=<state binary_sensor.hallway_zrouter_led=off; led=False, linkquality=10, friendly_name=hallway_zrouter_led, device_class=light @ 2020-08-04T16:37:24.974648+04:00>, new_state=<state binary_sensor.hallway_zrouter_led=off; led=False, linkquality=13, friendly_name=hallway_zrouter_led, device_class=light @ 2020-08-04T16:37:24.974648+04:00>>
2020-08-04 16:38:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hallway_zrouter_linkquality, old_state=<state sensor.hallway_zrouter_linkquality=10; led=False, linkquality=13, unit_of_measurement=lqi, friendly_name=hallway_zrouter_linkquality, icon=mdi:signal @ 2020-08-04T16:37:28.362670+04:00>, new_state=<state sensor.hallway_zrouter_linkquality=13; led=False, linkquality=13, unit_of_measurement=lqi, friendly_name=hallway_zrouter_linkquality, icon=mdi:signal @ 2020-08-04T16:38:28.367795+04:00>>
2020-08-04 16:38:29 INFO (SyncWorker_1) [homeassistant.components.ubus.device_tracker] Checking hostapd
2020-08-04 16:38:32 INFO (MainThread) [homeassistant.components.kodi.media_player] Unable to connect to Kodi via websocket
2020-08-04 16:38:32 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=media_player.lroom_tv, old_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2302, media_position_updated_at=2020-08-04T16:38:22.565419+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>, new_state=<state media_player.lroom_tv=playing; volume_level=0.4, is_volume_muted=False, media_content_id=1664344800, media_content_type=video, media_position=2312, media_position_updated_at=2020-08-04T16:38:32.568353+04:00, media_title=СНУКЕР. ЧЕМПИОНАТ МИРА, friendly_name=Зал - телевизор, entity_picture=/api/media_player_proxy/media_player.lroom_tv?token=0d18e8730f6fcc06ec8298ccda2109912115a8d2767138d94571ca3847b79413&cache=ef2041fa7add8d5e, supported_features=55103 @ 2020-08-04T16:37:32.552277+04:00>>
2020-08-04 16:38:33 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on mroom/sensor/illuminance_outdoor: b'3014.2'
2020-08-04 16:38:33 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.mroom_outdoor_illuminance, old_state=<state sensor.mroom_outdoor_illuminance=3233.3; unit_of_measurement=lx, friendly_name=Комната М. (улица) - освещенность, icon=mdi:brightness-5 @ 2020-08-04T16:37:33.055537+04:00>, new_state=<state sensor.mroom_outdoor_illuminance=3014.2; unit_of_measurement=lx, friendly_name=Комната М. (улица) - освещенность, icon=mdi:brightness-5 @ 2020-08-04T16:38:33.054312+04:00>>
@definitio thanks a lot for explaining the issue and for providing logs, that really helped to pinpoint the issue. Please give the patch in #38568 a try
@emontnemery It works for me. Thanks!
The problem
MQTT Integration reverts values to null when rediscovering the already discovered integration. Already discovered devices/entities revert to null or unknown
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
Discovery payload:
Screenshot of an odd value of hvac_mode with and without quote