I’m calling a Device action to turn on a light at a given time. When I look into the automation trace, I see that the automation is immediately turning the light back off again, even though I’m not telling it to.
Device is RGBgenie ZB-1003 via DeConz.
Automation:
alias: light timer ON
description: ''
trigger:
- platform: time
at: '06:00'
condition: []
action:
- type: turn_on
device_id: <id>
entity_id: light.light_strip
domain: light
brightness_pct: 100
mode: single
Trace information:
"logbookEntries": [
{
"name": "light timer ON",
"message": "has been triggered by time",
"source": "time",
"entity_id": "automation.light_timer",
"context_id": "",
"when": "2021-05-31T13:00:00.024359+00:00",
"domain": "automation"
},
{
"when": "2021-05-31T13:00:00.046318+00:00",
"name": "light strip",
"state": "on",
"entity_id": "light.light_strip",
"context_entity_id": "automation.light_timer",
"context_entity_id_name": "light timer ON",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "light timer ON",
"message": "turned on"
},
{
"when": "2021-05-31T13:00:01.879370+00:00",
"name": "light strip",
"state": "off",
"entity_id": "light.light_strip",
"context_entity_id": "automation.light_timer",
"context_entity_id_name": "light timer ON",
"context_event_type": "automation_triggered",
"context_domain": "automation",
"context_name": "light timer ON",
"message": "turned off"
}
]