Edit esp-bedrm3ceilingfan.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-25 21:55:45 +12:00
parent b27d2c87b7
commit 644bf978a9
+4 -16
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)
@@ -85,7 +84,6 @@ substitutions:
switch_3_name: "Fan 3 Relay"
switch_4_name: "Fan 4 Relay"
#:########################################################################################:#
# PACKAGES: Included Common Packages
# https://esphome.io/components/packages.html
@@ -125,7 +123,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
@@ -146,7 +143,6 @@ esphome:
topic: "${mqtt_local_status_topic}/speed/state"
payload: !lambda "return to_string(id(speed_value));"
#:########################################################################################:#
# ESP PLATFORM AND FRAMEWORK:
# https://esphome.io/components/esp8266/
@@ -161,7 +157,6 @@ preferences:
mdns:
disabled: true # Disabling will make the build file smaller (and it is still available via static IP)
#:########################################################################################:#
# GLOBAL VARIABLES:
# https://esphome.io/guides/automations.html#global-variables
@@ -172,7 +167,6 @@ globals:
restore_value: true
initial_value: "0"
#:########################################################################################:#
# LOGGING: ESPHome Logging Enable
# https://esphome.io/components/logger.html
@@ -181,7 +175,6 @@ logger:
level: "${log_level}" # INFO suggested, or DEBUG for testing
baud_rate: 0 # set to 0 for no logging via UART, needed if you are using it for other serial things
#:########################################################################################:#
# MQTT:
# This adds device-specific MQTT command triggers to the common MQTT configuration.
@@ -190,12 +183,12 @@ mqtt:
on_message:
# Light control
- topic: "${mqtt_local_command_topic}/light/set"
payload: "ON"
payload: "On"
then:
- light.turn_on: ifan02_light
- topic: "${mqtt_local_command_topic}/light/set"
payload: "OFF"
payload: "Off"
then:
- light.turn_off: ifan02_light
@@ -232,7 +225,6 @@ mqtt:
id: ifan02_fan
speed: !lambda "return id(speed_value);"
#:########################################################################################:#
# SWITCH COMPONENT:
# https://esphome.io/components/switch/
@@ -262,7 +254,6 @@ switch:
restore_mode: RESTORE_DEFAULT_OFF
internal: true
#:########################################################################################:#
# SELECT COMPONENT:
# https://esphome.io/components/select/index.html
@@ -327,7 +318,6 @@ select:
id: ifan02_fan
speed: 3
#:########################################################################################:#
# OUTPUT COMPONENT:
# https://esphome.io/components/output/
@@ -365,7 +355,6 @@ output:
id(fan4sw).turn_on();
}
#:########################################################################################:#
# LIGHT COMPONENT:
# https://esphome.io/components/light/
@@ -380,12 +369,11 @@ light:
on_turn_on:
- mqtt.publish:
topic: "${mqtt_local_status_topic}/light/state"
payload: "ON"
payload: "On"
on_turn_off:
- mqtt.publish:
topic: "${mqtt_local_status_topic}/light/state"
payload: "OFF"
payload: "Off"
#:########################################################################################:#
# FAN COMPONENT: