Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - id: 'lampe_matin'
- alias: Allumer la lampe chambre matin de semaine
- trigger:
- - at: 05:00:00
- platform: time
- condition:
- - condition: sun
- before: sunrise
- - condition: time
- weekday:
- - mon
- - tue
- - wed
- - thu
- - fri
- action:
- - service: light.turn_on
- data:
- entity_id: light.lampe_chevet_chambre
- - delay:
- minutes: 45
- - service: light.turn_off
- data:
- entity_id: light.lampe_chevet_chambre
- - id: 'lampe_dodo'
- alias: Lampe chambre dodo
- trigger:
- - platform: time
- at: '21:45'
- condition:
- - condition: sun
- after: sunset
- action:
- - service: light.turn_on
- data:
- entity_id: light.lampe_chevet_chambre
- - delay:
- minutes : 30
- - service: light.turn_off
- data:
- entity_id: light.lampe_chevet_chambre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement