Initial commit
This commit is contained in:
72
packages/damper_relays.yaml
Normal file
72
packages/damper_relays.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
# Damper Relays Configuratoin
|
||||
#
|
||||
# These are customizations that are associated with the FrankenSystem damper relays.
|
||||
#
|
||||
#
|
||||
|
||||
switch:
|
||||
# Custom switch templates. These are so that dampers show an inverted state
|
||||
# in HomeAssistant, so they can be converted / shown as an open or closed valve.
|
||||
- platform: template
|
||||
switches:
|
||||
coil_damper_1_inverted:
|
||||
friendly_name: Coil Damper - 1
|
||||
unique_id: "damper_relays.coil_damper_1_inverted"
|
||||
value_template: "{{ is_state('switch.coil_damper_1_2', 'off') }}"
|
||||
turn_on:
|
||||
action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.coil_damper_1_2
|
||||
turn_off:
|
||||
action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.coil_damper_1_2
|
||||
coil_damper_2_inverted:
|
||||
friendly_name: Coil Damper - 2
|
||||
unique_id: "damper_relays.coil_damper_2_inverted"
|
||||
value_template: "{{ is_state('switch.coil_damper_2_2', 'off') }}"
|
||||
turn_on:
|
||||
action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.coil_damper_2_2
|
||||
turn_off:
|
||||
action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.coil_damper_2_2
|
||||
coil_damper_3_inverted:
|
||||
friendly_name: Coil Damper - 3
|
||||
unique_id: "damper_relays.coil_damper_3_inverted"
|
||||
value_template: "{{ is_state('switch.coil_damper_3_2', 'off') }}"
|
||||
turn_on:
|
||||
action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.coil_damper_3_2
|
||||
turn_off:
|
||||
action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.coil_damper_3_2
|
||||
bypass_damper_1_inverted:
|
||||
friendly_name: Bypass Damper - 1
|
||||
unique_id: "damper_relays.bypass_damper_1_inverted"
|
||||
value_template: "{{ is_state('switch.bypass_damper_1_2', 'off') }}"
|
||||
turn_on:
|
||||
action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.bypass_damper_1_2
|
||||
turn_off:
|
||||
action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.bypass_damper_1_2
|
||||
bypass_damper_2_inverted:
|
||||
friendly_name: Bypass Damper - 2
|
||||
unique_id: "damper_relays.bypass_damper_2_inverted"
|
||||
value_template: "{{ is_state('switch.bypass_damper_2_2', 'off') }}"
|
||||
turn_on:
|
||||
action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.bypass_damper_2_2
|
||||
turn_off:
|
||||
action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.bypass_damper_2_2
|
||||
|
||||
Reference in New Issue
Block a user