additional esphome devices and fixes
This commit is contained in:
@@ -132,15 +132,15 @@ automation:
|
||||
target:
|
||||
entity_id: switch.esp_officedeskrightgpo_office_right_hand_gpo
|
||||
|
||||
- alias: "Turn on Office USB Hub if needed"
|
||||
if:
|
||||
- condition: state
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
state: "off"
|
||||
then:
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
#- alias: "Turn on Office USB Hub if needed"
|
||||
# if:
|
||||
# - condition: state
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
# state: "off"
|
||||
# then:
|
||||
# - action: switch.turn_on
|
||||
# target:
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
|
||||
##############################################################
|
||||
# Lights.
|
||||
@@ -294,15 +294,15 @@ automation:
|
||||
target:
|
||||
entity_id: switch.esp_officeelvcontrol_office_elv_power_supply
|
||||
|
||||
- alias: "Turn off Office USB Hub power supply if needed"
|
||||
if:
|
||||
- condition: state
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
state: "on"
|
||||
then:
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
#- alias: "Turn off Office USB Hub power supply if needed"
|
||||
# if:
|
||||
# - condition: state
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
# state: "on"
|
||||
# then:
|
||||
# - action: switch.turn_off
|
||||
# target:
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
|
||||
##############################################################
|
||||
# Manual master/latch relay off last.
|
||||
@@ -395,15 +395,15 @@ automation:
|
||||
target:
|
||||
entity_id: switch.esp_officeelvcontrol_office_elv_power_supply
|
||||
|
||||
- alias: "Turn off Office USB Hub power supply if needed"
|
||||
if:
|
||||
- condition: state
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
state: "on"
|
||||
then:
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
#- alias: "Turn off Office USB Hub power supply if needed"
|
||||
# if:
|
||||
# - condition: state
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
# state: "on"
|
||||
# then:
|
||||
# - action: switch.turn_off
|
||||
# target:
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
|
||||
##############################################################
|
||||
# Manual master/latch relay off last.
|
||||
@@ -456,15 +456,15 @@ automation:
|
||||
target:
|
||||
entity_id: switch.esp_officedeskrightgpo_office_right_hand_gpo
|
||||
|
||||
- alias: "Turn on Office USB Hub power supply if needed"
|
||||
if:
|
||||
- condition: state
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
state: "off"
|
||||
then:
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
# alias: "Turn on Office USB Hub power supply if needed"
|
||||
# if:
|
||||
# - condition: state
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
# state: "off"
|
||||
# then:
|
||||
# - action: switch.turn_on
|
||||
# target:
|
||||
# entity_id: switch.esp_officeusbhubpower_usb_hub_power_supply
|
||||
|
||||
##############################################################
|
||||
# Lights.
|
||||
|
||||
Reference in New Issue
Block a user