Advertisement
ottelo15

VeluxControl HA

Oct 12th, 2022 (edited)
5,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.96 KB | Source Code | 0 0
  1. - id: '1658394887231'
  2.   alias: Velux Control - Morgens Woche (Winter)
  3.   description: Im Winter (September-Mรคrz) Rollo in der Woche hoch fahren wenn nicht
  4.     so kalt
  5.   trigger:
  6.   - platform: sun
  7.     event: sunrise
  8.     offset: 0
  9.   condition:
  10.   - condition: template
  11.     value_template: '{{ (now().month >= 9) or (now().month < 4) }}'
  12.   - condition: time
  13.     weekday:
  14.    - mon
  15.     - tue
  16.     - wed
  17.     - thu
  18.     - fri
  19.   - type: is_temperature
  20.     condition: device
  21.     device_id: 73d4d6a775a64493e00bda9635fd2398
  22.     entity_id: sensor.openweathermap_forecast_temperature
  23.     domain: sensor
  24.     above: 5
  25.   action:
  26.   - type: turn_on
  27.     device_id: bbdf408c847df7150366737485242cdf
  28.     entity_id: switch.rolladen3
  29.     domain: switch
  30.   mode: single
  31. - id: '1658396110802'
  32.   alias: Velux Control - Mittags (Sommer)
  33.   description: Im Sommer (April-August) Rollow runter fahren wenn es warm werden soll
  34.   trigger:
  35.   - platform: time
  36.     at: '12:00:00'
  37.   condition:
  38.   - type: is_not_open
  39.     condition: device
  40.     device_id: 3ba27573fec3c0060ba841f0a92c8ece
  41.     entity_id: binary_sensor.schlafzimmer_dachfenstersensor
  42.     domain: binary_sensor
  43.   - type: is_temperature
  44.     condition: device
  45.     device_id: 73d4d6a775a64493e00bda9635fd2398
  46.     entity_id: sensor.openweathermap_forecast_temperature
  47.     domain: sensor
  48.     above: 24
  49.   - condition: template
  50.     value_template: '{{ (now().month < 9) and (now().month >= 4) }}'
  51.   action:
  52.   - type: turn_on
  53.     device_id: bbdf408c847df7150366737485242cdf
  54.     entity_id: switch.rolladen1
  55.     domain: switch
  56.   mode: single
  57. - id: '1658396351595'
  58.   alias: Velux Control - Nachmittags (Sommer)
  59.   description: ''
  60.   trigger:
  61.   - type: value
  62.     platform: device
  63.     device_id: 73d4d6a775a64493e00bda9635fd2398
  64.     entity_id: sensor.openweathermap_forecast_cloud_coverage
  65.     domain: sensor
  66.     below: 40
  67.     for:
  68.       hours: 0
  69.       minutes: 30
  70.       seconds: 0
  71.   condition:
  72.   - condition: numeric_state
  73.     entity_id: sensor.wolf_gemittelte_aussentemperatur
  74.     above: '24'
  75.   - condition: time
  76.     after: '14:00:00'
  77.     before: '21:00:00'
  78.   - condition: sun
  79.     before: sunset
  80.     after: sunrise
  81.   - type: is_not_open
  82.     condition: device
  83.     device_id: 3ba27573fec3c0060ba841f0a92c8ece
  84.     entity_id: binary_sensor.schlafzimmer_dachfenstersensor
  85.     domain: binary_sensor
  86.   - condition: template
  87.     value_template: '{{ (now().month < 9) and (now().month > 4) }}'
  88.   action:
  89.   - type: turn_on
  90.     device_id: bbdf408c847df7150366737485242cdf
  91.     entity_id: switch.rolladen1
  92.     domain: switch
  93.   - delay:
  94.       hours: 7
  95.       minutes: 0
  96.       seconds: 0
  97.       milliseconds: 0
  98.   mode: single
  99. - id: '1658401591393'
  100.   alias: Velux Control - Abends (Winter)
  101.   description: Im Winter (September-April) Rollo runter fahren wenn kalt
  102.   trigger:
  103.   - platform: sun
  104.     event: sunset
  105.     offset: 0
  106.   condition:
  107.   - condition: numeric_state
  108.     entity_id: sensor.openweathermap_forecast_temperature_low
  109.     below: 8
  110.   - condition: template
  111.     value_template: '{{ (now().month >= 9) or (now().month <= 4) }}'
  112.   action:
  113.   - type: turn_on
  114.     device_id: bbdf408c847df7150366737485242cdf
  115.     entity_id: switch.rolladen1
  116.     domain: switch
  117.   mode: single
  118. - id: '1663844072716'
  119.   alias: Velux Control - Abends (Sommer)
  120.   description: Im Sommer (April-August) Abends Rollo hochfahren wenn warm
  121.   trigger:
  122.   - platform: sun
  123.     event: sunset
  124.     offset: 0
  125.   condition:
  126.   - condition: numeric_state
  127.     entity_id: sensor.wolf_gemittelte_aussentemperatur
  128.     above: 10
  129.   - condition: template
  130.     value_template: '{{ (now().month < 9) and (now().month >= 4) }}'
  131.   action:
  132.   - type: turn_on
  133.     device_id: bbdf408c847df7150366737485242cdf
  134.     entity_id: switch.rolladen3
  135.     domain: switch
  136.   mode: single
  137. - id: '1663912581872'
  138.   alias: Velux Control - Morgens Woche (Sommer)
  139.   description: Im Sommer (April-August) Rollo in der Woche hoch fahren
  140.   trigger:
  141.   - platform: time
  142.     at: 07:00:00
  143.   condition:
  144.   - condition: template
  145.     value_template: '{{ (now().month < 9) and (now().month > 3) }}'
  146.   - condition: time
  147.     weekday:
  148.    - mon
  149.     - tue
  150.     - wed
  151.     - thu
  152.     - fri
  153.   - condition: template
  154.     value_template: '{{ (now().month < 9) and (now().month >= 4) }}'
  155.   action:
  156.   - type: turn_on
  157.     device_id: bbdf408c847df7150366737485242cdf
  158.     entity_id: switch.rolladen3
  159.     domain: switch
  160.   mode: single
  161. - id: '1664263752689'
  162.   alias: Velux Control - Morgens Wochenende (Sommer)
  163.   description: Im Sommer (April-August) Rollo am WE hoch fahren
  164.   trigger:
  165.   - platform: time
  166.     at: 08:00:00
  167.   condition:
  168.   - condition: template
  169.     value_template: '{{ (now().month < 9) and (now().month > 3) }}'
  170.   - condition: time
  171.     weekday:
  172.    - sat
  173.     - sun
  174.   - condition: template
  175.     value_template: '{{ (now().month < 9) and (now().month >= 4) }}'
  176.   action:
  177.   - type: turn_on
  178.     device_id: bbdf408c847df7150366737485242cdf
  179.     entity_id: switch.rolladen3
  180.     domain: switch
  181.   mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement