additional esphome devices and fixes

This commit is contained in:
root
2026-04-28 18:50:15 +12:00
parent 15f348570f
commit f14bbbd23a
25 changed files with 1042 additions and 481 deletions
@@ -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.