Edit esp-spare1-athomv1.yaml
This commit is contained in:
@@ -90,11 +90,6 @@ esphome:
|
|||||||
project:
|
project:
|
||||||
name: "${project_name}"
|
name: "${project_name}"
|
||||||
version: "${project_version}"
|
version: "${project_version}"
|
||||||
on_boot:
|
|
||||||
priority: 200
|
|
||||||
then:
|
|
||||||
- switch.turn_on: "relay"
|
|
||||||
|
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
# ESP Platform and Framework
|
# ESP Platform and Framework
|
||||||
# https://esphome.io/components/esp32.html
|
# https://esphome.io/components/esp32.html
|
||||||
@@ -166,7 +161,6 @@ switch:
|
|||||||
name: "Power Output"
|
name: "Power Output"
|
||||||
pin: GPIO14
|
pin: GPIO14
|
||||||
id: relay
|
id: relay
|
||||||
restore_mode: RESTORE_DEFAULT_ON # Ensures the relay is restored (or off) at boot
|
restore_mode: RESTORE_DEFAULT_OFF # Restore previous state, default off
|
||||||
#internal: true # Hides the switch from Home Assistant
|
#internal: true # Hides the switch from Home Assistant
|
||||||
icon: "${relay_icon}"
|
icon: "${relay_icon}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user