Update Media Package

This commit is contained in:
2022-07-10 17:13:26 -07:00
parent 4065c97139
commit a1e6033fcd
2 changed files with 12 additions and 6 deletions

View File

@@ -13,6 +13,12 @@ input_select:
- Manual
- Paused
template:
binary_sensor:
- name: HVAC Fan Running
state: >
{{ 'Running' in state_attr('climate.thermostat', 'fan_state') }}
# -----------------------------------------------------------------------------
# Climate Automations
automation:

View File

@@ -122,9 +122,9 @@ automation:
- alias: Turn Up Volume when HVAC Fan Starts
trigger:
- platform: template
value_template: >
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'true', 'false') }}
- platform: state
entity_id: binary_sensor.hvac_fan_running
to: "on"
condition:
- "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
- "{{ is_state('media_player.living_room_receiver', 'on') }}"
@@ -138,9 +138,9 @@ automation:
- alias: Turn Down Volume when HVAC Fan Stops
trigger:
- platform: template
value_template: >
{{ iif('Running' in state_attr('climate.thermostat', 'fan_state'), 'false', 'true') }}
- platform: state
entity_id: binary_sensor.hvac_fan_running
from: "on"
condition:
- "{{ is_state('input_boolean.ht_adjust_volume_hvac', 'on') }}"
- "{{ is_state('media_player.living_room_receiver', 'on') }}"