Attempting to adjust automations for actual smart air conditioner

This commit is contained in:
2022-06-13 19:56:21 -04:00
parent 894641809c
commit ed9298cd31

View File

@ -434,6 +434,9 @@
- condition: state - condition: state
entity_id: input_boolean.vacation_mode entity_id: input_boolean.vacation_mode
state: 'off' state: 'off'
- condition: numeric_state
entity_id: sensor.tonights_low_temp
above: '40'
action: action:
- choose: - choose:
- conditions: - conditions:
@ -446,31 +449,38 @@
attribute: overnight_low attribute: overnight_low
above: '50' above: '50'
then: then:
- service: switch.turn_on - service: climate.set_temperature
data: {} data:
hvac_mode: cool
temperature: 72
target: target:
entity_id: switch.master_bedroom_aircon entity_id: climate.master_bedroom_aircon
- parallel: - parallel:
- service: script.text_notify_tony - service: script.text_notify_tony
data: data:
title: AC Schedule Activated title: AC Schedule Activated
message: '"Master bedroom AC has been activated, as scheduled based message: '"Master bedroom AC temp has been lowered, as scheduled based
on tonight''s forecast low"' on tonight''s forecast low"'
- service: script.text_notify_tina - service: script.text_notify_tina
data: data:
title: AC Schedule Activated title: AC Schedule Activated
message: '"Master bedroom AC has been activated, as scheduled based message: '"Master bedroom AC temp has been lowered, as scheduled based
on tonight''s forecast low"' on tonight''s forecast low"'
else: else:
- service: climate.set_hvac_mode
data:
hvac_mode: fan_only
target:
entity_id: climate.master_bedroom_aircon
- parallel: - parallel:
- service: script.text_notify_tony - service: script.text_notify_tony
data: data:
title: AC Schedule Skipped title: AC Schedule Skipped
message: Too cold outside, AC not activated message: Too cold outside, AC running fan only
- service: script.text_notify_tina - service: script.text_notify_tina
data: data:
title: AC Schedule Skipped title: AC Schedule Skipped
message: Too cold outside, AC not activated message: Too cold outside, AC running fan only
- conditions: - conditions:
- condition: trigger - condition: trigger
id: master-bedroom-fan id: master-bedroom-fan
@ -505,8 +515,23 @@
target: target:
entity_id: entity_id:
- switch.master_bedroom_fan_socket_1 - switch.master_bedroom_fan_socket_1
- switch.master_bedroom_aircon
- switch.master_bedroom_echo_dot_do_not_disturb_switch - switch.master_bedroom_echo_dot_do_not_disturb_switch
- if:
- condition: numeric_state
entity_id: sensor.todays_high_temp
above: '80'
then:
- service: climate.set_temperature
data:
hvac_mode: cool
temperature: 75
target:
entity_id: climate.master_bedroom_aircon
else:
- service: climate.turn_off
data: {}
target:
entity_id: climate.master_bedroom_aircon
default: default:
- service: script.text_notify_tony - service: script.text_notify_tony
data: data: