Andrea_90
(Andrea)
1
hi I wanted to ask you why this simple automation does not work for me?
id: ‘1639723972682’
alias: Nuova automazione
description: ‘’
trigger:
- platform: time
at: ‘08:25:00’
condition: []
action:
- type: turn_on
device_id: c7e13bf49825b09655f0a614e7a8e990
entity_id: switch.luce_salone
domain: switch
mode: single
tom_l
2
Hello and welcome to the forum. Could you please format your post as outlined in point 11 here: How to help us help you - or How to ask a good question
Andrea_90
(Andrea)
3
OK thank you
id: '1639723972682'
alias: Nuova automazione
description: ''
trigger:
- platform: time
at: '08:25:00'
condition: []
action:
- type: turn_on
device_id: c7e13bf49825b09655f0a614e7a8e990
entity_id: switch.luce_salone
domain: switch
mode: single
tom_l
4
Is your system time and timezone set correctly?
When you go to Configuration / Automations and look a the automation trace what does it show?
Andrea_90
(Andrea)
5
it is set well if the manually forced function and date and time are set well
tom_l
6
I’m sorry I don’t understand that.
Did you check the automation trace?
Andrea_90
(Andrea)
7
I checked and it was wrong it activated an hour later
koying
(Chris B)
8
IIRC, the time platform uses the Timezone of the host, not the one defined at HA level.
Your host is likely in UTC.
Andrea_90
(Andrea)
9
I solved it was the wrong time zone thanks