Update Climate Package
This commit is contained in:
@@ -37,7 +37,8 @@ automation:
|
|||||||
data:
|
data:
|
||||||
scene_id: hvac_restore_state
|
scene_id: hvac_restore_state
|
||||||
snapshot_entities:
|
snapshot_entities:
|
||||||
- climate.thermostat
|
# See https://github.com/home-assistant/core/issues/69925
|
||||||
|
# - climate.thermostat
|
||||||
- input_select.climate_mode
|
- input_select.climate_mode
|
||||||
- service: climate.set_hvac_mode
|
- service: climate.set_hvac_mode
|
||||||
target:
|
target:
|
||||||
@@ -73,6 +74,13 @@ automation:
|
|||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: scene.hvac_restore_state
|
entity_id: scene.hvac_restore_state
|
||||||
|
# See https://github.com/home-assistant/core/issues/69925
|
||||||
|
# Assume thermostat is always heat_cool when active
|
||||||
|
- service: climate.set_hvac_mode
|
||||||
|
target:
|
||||||
|
entity_id: climate.thermostat
|
||||||
|
data:
|
||||||
|
hvac_mode: "{{ 'off' if is_state('input_select.climate_mode', 'Off') else 'heat_cool' }}"
|
||||||
- service: notify.telegram_home
|
- service: notify.telegram_home
|
||||||
data:
|
data:
|
||||||
message: HVAC Restored (Window or Door Open)
|
message: HVAC Restored (Window or Door Open)
|
||||||
|
|||||||
Reference in New Issue
Block a user