daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Apr 4th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - id: 'lampe_matin'
  2.   alias: Allumer la lampe chambre matin de semaine
  3.  
  4.   trigger:
  5.   - at: 05:00:00
  6.     platform: time
  7.  
  8.   condition:
  9.   - condition: sun
  10.     before: sunrise
  11.  
  12.   - condition: time
  13.     weekday:
  14.    - mon
  15.     - tue
  16.     - wed
  17.     - thu
  18.     - fri
  19.  
  20.   action:
  21.   - service: light.turn_on
  22.     data:
  23.       entity_id: light.lampe_chevet_chambre
  24.  
  25.   - delay:
  26.       minutes: 45
  27.  
  28.   - service: light.turn_off
  29.     data:
  30.       entity_id: light.lampe_chevet_chambre
  31.  
  32. - id: 'lampe_dodo'
  33.   alias: Lampe chambre dodo
  34.  
  35.   trigger:
  36.   - platform: time
  37.     at: '21:45'
  38.  
  39.   condition:
  40.   - condition: sun
  41.     after: sunset
  42.  
  43.   action:
  44.   - service: light.turn_on
  45.     data:
  46.       entity_id: light.lampe_chevet_chambre
  47.  
  48.   - delay:
  49.       minutes : 30
  50.  
  51.   - service: light.turn_off
  52.     data:
  53.       entity_id: light.lampe_chevet_chambre
RAW Paste Data
Top