1
0
ansible-home-assistant/configuration/automations/ac.yaml

25 lines
567 B
YAML
Raw Normal View History

2021-06-15 07:32:51 +00:00
- 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
2021-06-30 21:37:01 +00:00
above: '26.5'
2021-06-24 18:37:07 +00:00
for:
minutes: 1
2021-06-15 07:32:51 +00:00
condition:
- condition: state
2021-06-24 18:37:07 +00:00
entity_id: input_select.home_mode
state: Day
2021-06-15 07:32:51 +00:00
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