Edit esp-occupancyoffice.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-25 17:17:47 +12:00
parent d5bf32a37d
commit 6658a530b8
+11 -6
View File
@@ -91,29 +91,34 @@ substitutions:
update_interval: "60s" # general sensor update interval
# Remote light timer payloads, in seconds.
remote_timer_left_lights_payload: "10"
remote_timer_right_lights_payload: "360"
# Dual R1: left=overhead(cool white)=10s, right=bunker=360s
# Main lightswitch: left=bunker=360s, right=overhead(virtual mirror)=10s
# Note: "left"/"right" mean opposite things on each device due to physical wiring.
remote_timer_dual_left_payload: "10"
remote_timer_dual_right_payload: "360"
remote_timer_main_left_payload: "360"
remote_timer_main_right_payload: "10"
# MQTT REMOTE Controls
mqtt_remote_device1_name: "office-dual-lights-left"
mqtt_remote_device1_command_topic: "${mqtt_command_main_topic}/${mqtt_remote_device1_name}"
mqtt_remote_device1_command1: "On"
mqtt_remote_device1_command2: "${remote_timer_left_lights_payload}"
mqtt_remote_device1_command2: "${remote_timer_dual_left_payload}"
mqtt_remote_device2_name: "office-dual-lights-right"
mqtt_remote_device2_command_topic: "${mqtt_command_main_topic}/${mqtt_remote_device2_name}"
mqtt_remote_device2_command1: "On"
mqtt_remote_device2_command2: "${remote_timer_right_lights_payload}"
mqtt_remote_device2_command2: "${remote_timer_dual_right_payload}"
mqtt_remote_device3_name: "office-main-lights-left"
mqtt_remote_device3_command_topic: "${mqtt_command_main_topic}/${mqtt_remote_device3_name}"
mqtt_remote_device3_command1: "On"
mqtt_remote_device3_command2: "${remote_timer_left_lights_payload}"
mqtt_remote_device3_command2: "${remote_timer_main_left_payload}"
mqtt_remote_device4_name: "office-main-lights-right"
mqtt_remote_device4_command_topic: "${mqtt_command_main_topic}/${mqtt_remote_device4_name}"
mqtt_remote_device4_command1: "On"
mqtt_remote_device4_command2: "${remote_timer_right_lights_payload}"
mqtt_remote_device4_command2: "${remote_timer_main_right_payload}"
#:########################################################################################:#
# PACKAGES: Included Common Packages