Prob asked a million times, but has anyone seeing issues latetly with trigger Time?
Have a automation like this:
- id: '1596097280124'
alias: Turn ON Front Bottom Light at Night
description: ''
trigger:
- at: '21:00:00'
platform: time
condition: []
action:
- data: {}
entity_id: light.front_bottom_light
service: light.turn_on
If I run it manually with the execute button, the light turns on, but at 21:00 it never does
I have tried to recreate this automation several times and it never triggers. Does not even show in the logbook. Any ideas?
Very odd, nothing wrong with that automation that I can see: it exactly matches a test automation I just made with the exception of the new mode: single at the end. Wonder if it’s related to this topic?
What type of installation do you have, and what version?
I have a normal HA instalation on a VM server, running Home Assistant 0.110.7.
Humm, thats what gets me, I have a ton of other time automations that run fine, now this one is new, not sure if I’ve created any time ones after the last update…
On the other topic you sent, how do I check the sensor they are mentioning?
sensor.time is not directly related to your issue, and is part of the time_date integration (docs). You don’t need it to do time-based automations, but it’s suspicious that both issues are being reported together.
However, if you’re on 0.110.7, it’s not as a result of a recent change…
Anything in the logs? (under Developer Tools on your version, I think).
Hopefully not some sort of auto-censoring filter complaining about “front bottom”
EDIT: it isn’t. I’ve just created this in the UI editor (usually don’t use that) and it switched on exactly as expected:
- id: '1596187874168'
alias: Turn ON Front Bottom Light at Night
description: ''
trigger:
- at: '10:32:00'
platform: time
condition: []
action:
- data: {}
entity_id: light.hall_table_light
service: light.turn_on
mode: single
I wonder if there’s an issue with a preceding automation that’s messing up the YAML? Can you post this and the previous automation from your automations.yaml?
Looks good there. Perhaps a timezone issue based on that prior screenshot, although that may be expected UTC in logs? Does it switch the light an hour later than expected? What do you have for HA timezone?
I have been getting odd stuff going with time since upgrade to 0.113.x. Twice now the time has gotten stuck, causing automations based on sensor.time to not work at all.
Thanks, but a time trigger is different from a state trigger using sensor.time. Of course there could be some underlying issue that affects both, but just wanted to be clear.
In my case it was the timezone it was wrongly setup so all the automations were indeed working but with an hour delay. Not sure if its the same case as you.