Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Genvexregulering
- description: >-
- Ventilationsniveauet reguleres af hængigt af om der er nogen hjemme eller ej.
- Aktiverer ventilation hvis VOC overstiger 100 og stopper igen nør den når
- under 80, for at forhindre opbygning af dårlig luft.
- triggers:
- - trigger: numeric_state
- entity_id:
- - zone.home
- below: 1
- id: Sidste mand har forladt huset
- for:
- hours: 0
- minutes: 30
- seconds: 0
- - trigger: numeric_state
- entity_id:
- - zone.home
- above: 0
- id: Nogen kommet hjem
- - trigger: numeric_state
- entity_id:
- - zone.home
- for:
- hours: 12
- minutes: 0
- seconds: 0
- below: 1
- id: Ingen hjemme i 12 timer
- - trigger: numeric_state
- entity_id:
- - sensor.klimasensor_tvstuen_voc_index
- above: 100
- id: VOC over 100
- conditions: []
- actions:
- - choose:
- - conditions:
- - condition: trigger
- id:
- - Sidste mand har forladt huset
- sequence:
- - device_id: 042a25d3a845934c74645d81e3cf3256
- domain: select
- entity_id: 9f182e0ca789c7c7fa3306a44bfa37ca
- type: select_option
- option: Level 1
- - action: notify.mobile_app_cs_oneplus
- metadata: {}
- data:
- title: Genvex
- message: >-
- Sidste mand har forladt huset og ventilationen er skruet ned til
- niveau 1.
- - conditions:
- - condition: trigger
- id:
- - Nogen kommet hjem
- sequence:
- - device_id: 042a25d3a845934c74645d81e3cf3256
- domain: select
- entity_id: 9f182e0ca789c7c7fa3306a44bfa37ca
- type: select_option
- option: Level 2
- - action: notify.mobile_app_cs_oneplus
- metadata: {}
- data:
- title: Genvex
- message: Der er kommet nogen hjem og ventilationsniveauet er sat til 2
- - conditions:
- - condition: trigger
- id:
- - Ingen hjemme i 12 timer
- sequence:
- - device_id: 042a25d3a845934c74645d81e3cf3256
- domain: select
- entity_id: 9f182e0ca789c7c7fa3306a44bfa37ca
- type: select_option
- option: Level 0
- - action: notify.mobile_app_cs_oneplus
- metadata: {}
- data:
- message: Genvex
- title: Der har ikke været nogen hjemme i 12 timer og Genvex slukkes
- - conditions:
- - condition: and
- conditions:
- - condition: trigger
- id:
- - VOC over 100
- - condition: numeric_state
- entity_id: zone.home
- below: 1
- sequence:
- - device_id: 042a25d3a845934c74645d81e3cf3256
- domain: select
- entity_id: 9f182e0ca789c7c7fa3306a44bfa37ca
- type: select_option
- option: Level 2
- - action: notify.mobile_app_cs_oneplus
- metadata: {}
- data:
- message: Genvex VOC høj
- title: Ventilationen blevet startet for at holde VOCniveauet lavt.
- - wait_for_trigger:
- - trigger: numeric_state
- entity_id:
- - sensor.klimasensor_tvstuen_voc_index
- below: "80"
- continue_on_timeout: false
- - device_id: 042a25d3a845934c74645d81e3cf3256
- domain: select
- entity_id: 9f182e0ca789c7c7fa3306a44bfa37ca
- type: select_option
- option: Level 0
- - action: notify.mobile_app_cs_oneplus
- metadata: {}
- data:
- message: Genvex VOC lavt
- title: Ventilationen blevet stoppet igen, da VOC er faldet.
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement