Advertisement
Hoekeren75

rulgardinerne for når solen risikerer at varem rummet op

Jun 22nd, 2024
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.78 KB | None | 0 0
  1. alias: Gardiner ved solskin og høj temperatur
  2. description: ""
  3. trigger:
  4.   - platform: template
  5.     value_template: "{{ state_attr('sun.sun', 'azimuth') > 190 }}"
  6. condition:
  7.   - condition: and
  8.     conditions:
  9.       - condition: numeric_state
  10.         entity_id: zone.home
  11.         above: 0
  12.       - condition: state
  13.         entity_id: weather.hjem
  14.         state: sunny
  15.       - condition: numeric_state
  16.         entity_id: sensor.klimasensor_terrassen_temperature
  17.         above: 20
  18.       - condition: numeric_state
  19.         entity_id: sensor.gennemsnits_temperatur
  20.         above: 23
  21. action:
  22.   - service: tts.cloud_say
  23.     data:
  24.       cache: false
  25.       entity_id: media_player.kokken
  26.       language: da
  27.       message: Overvej at rulle gardinerne for, så solen ikke varmer stuen op.
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement