Edit esp-spare1-athomv1.yaml
This commit is contained in:
@@ -90,11 +90,6 @@ esphome:
|
||||
project:
|
||||
name: "${project_name}"
|
||||
version: "${project_version}"
|
||||
on_boot:
|
||||
priority: 200
|
||||
then:
|
||||
- switch.turn_on: "relay"
|
||||
|
||||
##########################################################################################
|
||||
# ESP Platform and Framework
|
||||
# https://esphome.io/components/esp32.html
|
||||
@@ -166,7 +161,6 @@ switch:
|
||||
name: "Power Output"
|
||||
pin: GPIO14
|
||||
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
|
||||
icon: "${relay_icon}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user