Advertisement
KirboWnz

sauna kylmä script

Mar 18th, 2023
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.78 KB | None | 0 0
  1. alias: Sauna kylmä
  2. mode: single
  3. sequence:
  4.   - service: automation.trigger
  5.     data: {}
  6.     target:
  7.       entity_id:
  8.        - automation.kotona_paivavalot
  9.         - automation.tyopoyta_naytot
  10.   - service: light.turn_off
  11.     data:
  12.       transition: 2
  13.     target:
  14.       entity_id:
  15.        - light.sauna_valo
  16.         - light.keittionvalo
  17.         - light.trophyvalo
  18.   - service: notify.kirbo
  19.     data:
  20.       title: Sauna
  21.       message: Sauna kylmä (+{{ states('sensor.ruuvitag_sauna_temperature') }}°C) !
  22.   - delay:
  23.       hours: 0
  24.       minutes: 0
  25.       seconds: 1
  26.       milliseconds: 0
  27.   - service: adaptive_lighting.set_manual_control
  28.     data:
  29.       entity_id: switch.adaptive_lighting_keittion_valot
  30.       lights: light.keittio_kattolamput
  31.       manual_control: false
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement