1
0
ansible-home-assistant/configuration/automations/ac.yaml
2021-06-30 23:37:01 +02:00

25 lines
567 B
YAML

- id: ac_computer_cave
alias: '[AC] Computer cave too hot'
description: ''
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.ble_temperature_computer_cave_sensor
above: '26.5'
for:
minutes: 1
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- service: climate.turn_on
target:
entity_id: climate.ac
- service: climate.set_temperature
data:
temperature: 24
hvac_mode: cool
target:
entity_id: climate.ac