Hi,
I’m new, it’s my first post.
I want to change from Domoticz to HA, for now I have I think 50% of automations.
Please check my code, i have automation for ventilation vs humidity, but at day I want to start ventilation for example each 15 for 5 min to change air in my home. It’s prepared for heating time. I want to do other automations for other conditions later, but first don’t work:
- id: '1604092183032'
alias: Harmonogram wentylacji comfort
description: uruchamianie wentylacji w trybie comfort i office
trigger:
- platform: time_pattern
minutes: '/15'
condition:
- condition: state
entity_id: switch.wentylacja
state: 'Off'
- condition: and
conditions:
- condition: state
entity_id: input_select.strategia_ogrzewania
state: Comfort
- condition: or
conditions:
- condition: state
entity_id: input_select.strategia_ogrzewania
state: Office
action:
- service: switch.turn_on
data: {}
entity_id: switch.wentylacja
- delay: 00:05:00
- service: switch.turn_off
data: {}
entity_id: switch.wentylacja
mode: single
Thanks in advance.
Michał