我现在设法打开所有日志记录,这就是我在我按“开”时所获得的
21-05-12 11:48:40 DEBUG (MainThread) [homehelper .components.websocket_api.http.connection][140539319689280]正在发送{"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "automation. data": {"entity_id": "automation. data": {"entity_id": "automation. data"Kontor_controller_dimmerswitch ", "old_state": {"entity_id": "automation. "kontor_controller_dimmerswitch”、“状态”:“在”、“属性”:{“last_triggered”:“2021 - 05 - 12 - t09:48:40.782401 + 00:00”、“模式”:“重启”,“当前”:1、“id”:“1620547882828”,“friendly_name”:“Kontor控制器dimmerswitch”},“last_changed”:“2021 - 05 - 12 - t09:47:05.833820 + 00:00”、“last_updated”:“2021 - 05 - 12 - t09:48:40.782449 + 00:00”、“上下文”:{" id ":“bb3237639b060eae5167e92f78e2712f”、“parent_id”:“dcfa7d93fce927405a2bd2795db39434”、“user_id”:零}},“new_state”:{“entity_id”:“自动化。kontor_controller_dimmerswitch”、“状态”:“在”、“属性”:{“last_triggered”:“2021 - 05 - 12 - t09:48:40.782401 + 00:00”、“模式”:“重启”,“当前”:0,“id”:“1620547882828”,“friendly_name”:“Kontor控制器dimmerswitch”},“last_changed”:“2021 - 05 - 12 - t09:47:05.833820 + 00:00”、“last_updated”:“2021 - 05 - 12 - t09:48:40.784337 + 00:00”、“上下文”:{" id ":"bb3237639b060eae5167e92f78e2712f", "parent_id": "dcfa7d93fce927405a2bd2795db39434", "user_id": null}}, "origin": "LOCAL", "time_fired": " 21-05-12 t09:48:40.784337+00:00", "context": {"id": "bb3237639b060eae5167e92f78e2712f", "parent_id": "dcfa7d93fce927405a2bd2795db39434", "user_id":null}}} 21-05-12 11:48:40 DEBUG (MainThread) [homeasant.components .automation.kontor_controller_dimmerswitch] Automation triggered by event' zha_event'重启21-05-12 11:48:40 DEBUG (MainThread) [homeassistant.][L]: name=Kontor controller dimmerswitch, entity_id= automation_triggered . [L]: name=Kontor controller dimmerswitch, entity_id= automatic .]kontor_controller_dimmerswitch, source=event 'zha_event'> 2012-05-12 11:48:40 DEBUG (MainThread) [home helper . dll]总线:处理<事件state_changed[L]: entity_id=自动化。kontor_controller_dimmerswitch old_state = <国家automation.kontor_controller_dimmerswitch =; last_triggered=2021-05-12T11:48:40.782401+02:00, mode=restart, current=0, id=1620547882828, friendly_name=Kontor controller dimmerswitch @ 2021-05-12T11:47:05.833820+02:00>, new_state=> 2021-05-12 11:48:40 INFO (MainThread) [homeassistant.components.automation.kontor_controller_dimmerswitch] Kontor controller dimmerswitch: Running automation actions 2021-05-12 11:48:40 INFO (MainThread) [homeassistant.components.automation.kontor_controller_dimmerswitch] Kontor controller dimmerswitch: Executing step setting variables 2021-05-12 11:48:40 DEBUG (MainThread) [homeassistant.core] Bus:Handling , new_state=> 2021-05-12 11:48:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140539490028512] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "automation.kontor_controller_dimmerswitch", "old_state": {"entity_id": "automation.kontor_controller_dimmerswitch", "state": "on", "attributes": {"last_triggered": "2021-05-12T09:48:40.782401+00:00", "mode": "restart", "current": 0, "id": "1620547882828", "friendly_name": "Kontor controller dimmerswitch"}, "last_changed": "2021-05-12T09:47:05.833820+00:00", "last_updated": "2021-05-12T09:48:40.784337+00:00", "context": {"id": "bb3237639b060eae5167e92f78e2712f", "parent_id": "dcfa7d93fce927405a2bd2795db39434", "user_id": null}}, "new_state": {"entity_id": "automation.kontor_controller_dimmerswitch", "state": "on", "attributes": {"last_triggered": "2021-05-12T09:48:40.787809+00:00", "mode": "restart", "current": 1, "id": "1620547882828", "friendly_name": "Kontor controller dimmerswitch"}, "last_changed":
这给了任何线索吗?
干杯!