many changes
This commit is contained in:
parent
c9e4ab6af0
commit
5d0827848e
24 changed files with 844 additions and 163 deletions
|
|
@ -4,10 +4,8 @@
|
|||
alias = "wakeup";
|
||||
hide_entity = true;
|
||||
trigger = {
|
||||
platform = "template";
|
||||
value_template = ''
|
||||
{{ now().timestamp() | timestamp_custom('%H:%M') == (as_timestamp(strptime(states('sensor.bedtime_alarm'), "%H:%M")) - 1800) | timestamp_custom('%H:%M', false) }}
|
||||
'';
|
||||
platform = "time";
|
||||
at = "input_datetime.wakeup";
|
||||
};
|
||||
action = {
|
||||
service_template = "switch.turn_on";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue