mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-21 16:44:46 +00:00
Multiple COnditions - Hopefully!
This commit is contained in:
parent
f557fb0aae
commit
5a0dd45d3b
@ -5,11 +5,21 @@
|
|||||||
offset: '+00:30:00'
|
offset: '+00:30:00'
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: tv_time
|
event_type: tv_time
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.samsungtv
|
||||||
|
state: 'Online'
|
||||||
|
|
||||||
condition:
|
condition: and
|
||||||
condition: state
|
conditions:
|
||||||
entity_id: group.family
|
- condition: state
|
||||||
state: home
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user