I'm trying to set a specific time for my smart charging of my cars to begin.
I have two automations, one that sets 'none' which means basically "charge whenever it's the cheapest price", and another which reverts to when the charging needs to be finished (see example below).
alias: Helgladdning (set time)
description: ""
triggers:
- trigger: time
at: "13:00:00"
weekday:
- sun
conditions:
- condition: device
device_id: 43c0e0d62f426e823251d90865badad3
domain: select
entity_id: eeee7a2c9199df196f68a7daba4354be
type: selected_option
option: None
- condition: device
device_id: 96a56590d30e31a9cb86074e16a8e8ed
domain: select
entity_id: ecc9a15d03760c1218554b9411ee66d6
type: selected_option
option: None
- condition: and
conditions:
- condition: time
weekday:
- sun
actions:
- device_id: 43c0e0d62f426e823251d90865badad3
domain: select
entity_id: eeee7a2c9199df196f68a7daba4354be
type: select_option
option: "08:00"
- device_id: 96a56590d30e31a9cb86074e16a8e8ed
domain: select
entity_id: ecc9a15d03760c1218554b9411ee66d6
type: select_option
option: "07:00"
mode: single
Problem is that it doesn't trigger just on Sundays, it triggers randomly and the conditions aren't respected. I can manually trigger the above on any weekday, and it will fire the event. Even if Sunday is the only allowed day.
I've had this issue with other time controller automations as well, and now I want to go to the bottom with this - why aren't the day/time respected?