core: WEMO motion sensor true state detected does not always update linked binary sensor entity

The problem

WEMO Motion sensor ON state change is detected by pywemo but does not reliably result in a state change of the linked binary sensor. Outcome is intermittent, approximately only 1 in 10 sensor true state results in a state change to the binary sensor entity to ON.

Environment

HA core 0.112.1 last working version is not clear perhaps 0.110, however I don’t think the issue is version related as it was working and then stopped working prior to an update. Supervisor issue 228 OS version System - Ubuntu 18.04.4 LTS Docker version - 19.03.12 Integration causing the issue is wemo - https://www.home-assistant.io/integrations/wemo/

Problem-relevant configuration.yaml

configuration.yaml is below but wemo is configured via ui.

https://drive.google.com/file/d/1bFj8mXernykvGrbX3PeGrRWyIQxLfKcK/view?usp=sharing

linked file Binary_sensor.yaml is below but there is no entry for ‘kitche motion’ as the sensor is configured via UI https://drive.google.com/file/d/1oxdEm9Ptsuj0ztDGb0Vb5fNuI04FY39U/view?usp=sharing

Traceback/Error logs

There are four relevant files.

home-assistant-kitchen-motion.log - home assistant log file with the following logger settings: logger: default: warning logs: homeassistant.components.wemo: debug pywemo: debug

https://drive.google.com/file/d/1c5hSH5oxG3GEGzwdud8UuYby5BdFH7Gn/view?usp=sharing

Kitchen-motion-screenshot.png - screenshot of the logbook showing the ‘kitchen_motion turned on’ events for the same period as the above file.

image

home-assistant-debug.log - home assistant log file with the following logger settings: logger: default: debug

https://drive.google.com/file/d/1CB07xM9-12ADMilPdOmJjROHl3-CJT6N/view?usp=sharing

Debug-screenshot.png - screenshot of the logbook showing the ‘kitchen_motion turned on’ events whilst logger is set to debug.

image

Additional information

The file ‘home-assistant-kitchen-motion.log’ shows the motion sensor having a BinaryState 1 recorded 11 times. However, the logbook (Kitchen-motion-screenshot.png) for the equivalent period shows only 2 events.

This is further reinforced when logger default setting is set to ‘debug’. The file ‘debug-screenshot.png’ shows the previous two events plus a new one at 3:09:06. Perusing the file ‘home-assistant-debug.log’ shows 5 occurrences of ‘Kitchen Motion’ being set to 1, but only one at 15:09:03 that results in the following entry:

2020-07-06 15:09:06 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.kitchen_motion, old_state=<state binary_sensor.kitchen_motion=off; friendly_name=Kitchen Motion @ 2020-07-06T15:07:33.153588+10:00>, new_state=<state binary_sensor.kitchen_motion=on; friendly_name=Kitchen Motion @ 2020-07-06T15:09:06.418506+10:00>>

All of the others whilst they are seen by pywemo seem to be ignored by ha core.

Please let me know if I can provide more comprehensive log entries

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (4 by maintainers)

Most upvoted comments

Would you be able to test with this change to pywemo? Does that address the issue? esev/pywemo@3df7bfe

I don’t think pywemo is currently handling a BinaryState value of 1 properly. It is expecting 10 pipe separated values. Initially I thought this only impacted Wemo LightSwitch devices and attempted to address this in pavoni/pywemo#157. But it sounds like it might impact more devices. Note pavoni/pywemo#157 will not solve the issue for motion detectors as it is right now, but esev/pywemo@3df7bfe might. It’d be good to have some additional tests to confirm, if you are able.

Good news. Initial testing looks promising. Motion sensor now consistently sets the entity state. Tested on my test system, v0.112.4 os Raspbian. I’ll apply to my prod system and test more extensively.

Log extract before application of esev/pywemo@3df7bfe

2020-07-26 07:26:30 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 1 2020-07-26 07:26:30 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:26:30 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 1 2020-07-26 07:26:39 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 0 2020-07-26 07:26:39 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:26:39 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 0 2020-07-26 07:26:54 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 1 2020-07-26 07:26:54 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:26:54 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 1 2020-07-26 07:26:57 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 0 2020-07-26 07:26:57 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:26:57 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 0

Log extract after application of esev/pywemo@3df7bfe

2020-07-26 07:45:49 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 1 2020-07-26 07:45:49 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:45:49 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 1 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.kitchen_motion, old_state=<state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:44:46.517685+10:00>, new_state=<state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>> 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘binary_sensor.kitchen_motion’, ‘old_state’: <state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:44:46.517685+10:00>, ‘new_state’: <state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 49, 836804, tzinfo=<UTC>), ‘context’: {‘id’: ‘2a6cb6b9864442feb60da4f1f3fd3bf8’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=binary_sensor.kitchen_motion, old_state=<state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:44:46.517685+10:00>, new_state=<state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>>} 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.motion, old_state=<state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:44:47.167513+10:00>, new_state=<state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>> 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘group.motion’, ‘old_state’: <state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:44:47.167513+10:00>, ‘new_state’: <state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 49, 852981, tzinfo=<UTC>), ‘context’: {‘id’: ‘a0799c6d7169488cbe8e41434c3485bc’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=group.motion, old_state=<state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:44:47.167513+10:00>, new_state=<state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>>} 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.home_alarm, old_state=<state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:44:47.696692+10:00>, new_state=<state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>> 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘group.home_alarm’, ‘old_state’: <state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:44:47.696692+10:00>, ‘new_state’: <state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 49, 879195, tzinfo=<UTC>), ‘context’: {‘id’: ‘353eed0174df43f69adfa103b6b0136b’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:49 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=group.home_alarm, old_state=<state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:44:47.696692+10:00>, new_state=<state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>>} 2020-07-26 07:45:50 DEBUG (Recorder) [homeassistant.components.recorder] Sending keepalive 2020-07-26 07:45:50 DEBUG (InfluxDB) [homeassistant.components.influxdb] Wrote 3 events 2020-07-26 07:45:54 INFO (Wemo HTTP Thread) [pywemo.subscribe] Received event from <WeMo Motion “Kitchen motion”>(192.168.20.197) - BinaryState 0 2020-07-26 07:45:54 DEBUG (Wemo HTTP Thread) [homeassistant.components.wemo.binary_sensor] Subscription update for Kitchen motion 2020-07-26 07:45:54 DEBUG (Wemo HTTP Thread) [pywemo.ouimeaux_device] subscription_update BinaryState 0 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.kitchen_motion, old_state=<state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>, new_state=<state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:45:54.807184+10:00>> 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘binary_sensor.kitchen_motion’, ‘old_state’: <state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>, ‘new_state’: <state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:45:54.807184+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 54, 807367, tzinfo=<UTC>), ‘context’: {‘id’: ‘bf5adc5034a6469bae8b66c2dcd169e1’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=binary_sensor.kitchen_motion, old_state=<state binary_sensor.kitchen_motion=on; friendly_name=Kitchen motion @ 2020-07-26T07:45:49.836701+10:00>, new_state=<state binary_sensor.kitchen_motion=off; friendly_name=Kitchen motion @ 2020-07-26T07:45:54.807184+10:00>>} 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.motion, old_state=<state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>, new_state=<state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:54.854939+10:00>> 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘group.motion’, ‘old_state’: <state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>, ‘new_state’: <state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:54.854939+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 54, 855125, tzinfo=<UTC>), ‘context’: {‘id’: ‘0a5f02b0f95b4c6982e18a827209cb84’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=group.motion, old_state=<state group.motion=on; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:49.852817+10:00>, new_state=<state group.motion=off; entity_id=(‘binary_sensor.kitchen_motion’, ‘binary_sensor.front_door_light_2’, ‘binary_sensor.front_entrance’, ‘binary_sensor.family_room_2’), order=13, friendly_name=Motion Sensors @ 2020-07-26T07:45:54.854939+10:00>>} 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.home_alarm, old_state=<state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>, new_state=<state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:54.898620+10:00>> 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1780038448] Sending {‘id’: 163, ‘type’: ‘event’, ‘event’: {‘event_type’: ‘state_changed’, ‘data’: {‘entity_id’: ‘group.home_alarm’, ‘old_state’: <state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>, ‘new_state’: <state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:54.898620+10:00>}, ‘origin’: ‘LOCAL’, ‘time_fired’: datetime.datetime(2020, 7, 25, 21, 45, 54, 898811, tzinfo=<UTC>), ‘context’: {‘id’: ‘b3d73ed6557d462e8819fae8b0ca0026’, ‘parent_id’: None, ‘user_id’: None}}} 2020-07-26 07:45:54 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1870122192] Sending {‘id’: 2, ‘type’: ‘event’, ‘event’: <Event state_changed[L]: entity_id=group.home_alarm, old_state=<state group.home_alarm=on; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:49.879092+10:00>, new_state=<state group.home_alarm=off; entity_id=(‘device_tracker.homecontrol_steve’, ‘device_tracker.homecontrol_julie’, ‘alarm_control_panel.ha_alarm’, ‘input_boolean.guest_mode’, ‘input_boolean.vacation_mode’, ‘input_boolean.silent_mode’, ‘group.motion’, ‘group.perimdoors’, ‘group.perimwindows’), order=19, friendly_name=Alarm @ 2020-07-26T07:45:54.898620+10:00>>} 2020-07-26 07:45:55 DEBUG (InfluxDB) [homeassistant.components.influxdb] Wrote 3 events