Multiple COnditions - Hopefully!

pull/76/head
CCOSTAN 9 years ago
parent f557fb0aae
commit 5a0dd45d3b

@ -5,12 +5,22 @@
offset: '+00:30:00' offset: '+00:30:00'
- platform: event - platform: event
event_type: tv_time event_type: tv_time
- platform: state
condition: entity_id: sensor.samsungtv
condition: state state: 'Online'
entity_id: group.family
state: home condition: and
conditions:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: sensor.samsungtv
state: online
- condition: state
entity_id: sun.sun
state: 'below_horizon'
action: action:
service: scene.turn_on service: scene.turn_on
entity_id: scene.living_room_tv_time entity_id: scene.living_room_tv_time

Loading…
Cancel
Save

Powered by TurnKey Linux.