Lights update
add missing condition for lights automations add computer lights
This commit is contained in:
parent
67dd0ba00b
commit
285e901087
@ -21,6 +21,10 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.sleep_mode
|
at: input_datetime.sleep_mode
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: {{ light.entityId }}
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
@ -32,6 +36,10 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.day_mode
|
at: input_datetime.day_mode
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: {{ light.entityId }}
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
|
@ -35,6 +35,10 @@ lights:
|
|||||||
name: Kitchen 13
|
name: Kitchen 13
|
||||||
- entityId: light.kitchen_14
|
- entityId: light.kitchen_14
|
||||||
name: Kitchen 14
|
name: Kitchen 14
|
||||||
|
- entityId: light.computer_left
|
||||||
|
name: Computer left
|
||||||
|
- entityId: light.computer_right
|
||||||
|
name: Computer right
|
||||||
airPurifiers:
|
airPurifiers:
|
||||||
- entityId: fan.xiaomi_miio_device
|
- entityId: fan.xiaomi_miio_device
|
||||||
componentId: xiaomi_miio_device
|
componentId: xiaomi_miio_device
|
||||||
|
Loading…
Reference in New Issue
Block a user