mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 23:36:42 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.tv_time
|
||||
|
||||
- service_template: >
|
||||
- service: >
|
||||
{% set hour=states("sensor.time").split(':')[0] | int %}
|
||||
{% if hour >= 5 and hour <= 9 and states.group.bed.state == 'on'%}
|
||||
switch.turn_off
|
||||
|
Reference in New Issue
Block a user