Edit esp-bedrm3lights.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-25 21:55:09 +12:00
parent 9738ba98ac
commit e20365c32b
+4 -14
View File
@@ -43,7 +43,6 @@
# - Accurate time is NOT needed (SNTP not required) for core operation
#:########################################################################################:#
#:########################################################################################:#
# SUBSTITUTIONS: Specific device variable substitutions
# If NOT using a secrets file, just replace these with the passwords etc (in quotes)
@@ -83,18 +82,17 @@ substitutions:
# Remote Light
mqtt_remote_device_command_topic1: "${mqtt_local_command_main_topic}/${mqtt_remote_device_name}/light/set"
mqtt_remote_status_topic1: "${mqtt_local_status_main_topic}/${mqtt_remote_device_name}/light/state"
mqtt_remote_device_command_ON: "ON"
mqtt_remote_device_command_OFF: "OFF"
mqtt_remote_device_command_ON: "On"
mqtt_remote_device_command_OFF: "Off"
# Remote Fan Speed (used for All Off)
mqtt_remote_device_command_topic2: "${mqtt_local_command_main_topic}/${mqtt_remote_device_name}/speed/set"
mqtt_remote_device_command_0: "0"
# Switch Naming
switch_1_name: "Main Lights" # Nothing physically connected to this output (ifan02 light is the real load)
switch_1_name: "Main Lights" # Nothing physically connected to this output (ifan02 light is the real load)
switch_2_name: "All Lights Off" # Nothing physically connected to this output
#:########################################################################################:#
# PACKAGES: Included Common Packages
# https://esphome.io/components/packages.html
@@ -134,7 +132,6 @@ packages:
diag_debug: !include common/include_debug_diag_sensors.yaml
#diag_resetcount: !include common/include_resetcount_diag_sensors.yaml
#:########################################################################################:#
# ESPHOME:
# https://esphome.io/components/esphome.html
@@ -148,7 +145,6 @@ esphome:
name: "${project_name}"
version: "${project_version}"
#:########################################################################################:#
# ESP PLATFORM AND FRAMEWORK:
# https://esphome.io/components/esp8266/
@@ -158,7 +154,6 @@ esp8266:
early_pin_init: false # Recommended false where switches are involved. Defaults to true.
board_flash_mode: dout # Default is dout
#:########################################################################################:#
# LOGGING: ESPHome Logging Enable
# https://esphome.io/components/logger.html
@@ -169,7 +164,6 @@ logger:
#esp8266_store_log_strings_in_flash: false
#tx_buffer_size: 64
#:########################################################################################:#
# GLOBAL VARIABLES:
# https://esphome.io/guides/automations.html#global-variables
@@ -180,7 +174,6 @@ globals:
restore_value: false
initial_value: "0"
#:########################################################################################:#
# STATUS LED:
# https://esphome.io/components/status_led.html
@@ -190,7 +183,6 @@ status_led:
number: GPIO2
inverted: true
#:########################################################################################:#
# BINARY SENSORS:
# https://esphome.io/components/binary_sensor/
@@ -255,7 +247,6 @@ binary_sensor:
qos: 0
retain: false
#:########################################################################################:#
# SWITCH COMPONENT:
# https://esphome.io/components/switch/
@@ -272,7 +263,6 @@ switch:
pin: GPIO12
id: Relay_2
#:########################################################################################:#
# MQTT:
# This adds device-specific MQTT command triggers to the common MQTT configuration.
@@ -288,4 +278,4 @@ mqtt:
- topic: "${mqtt_remote_status_topic1}"
payload: "${mqtt_remote_device_command_OFF}"
then:
- switch.turn_off: Relay_1
- switch.turn_off: Relay_1