Added:
OnBoard LED to turn on while ESP is not connected to MQTT for pingpongfuss and tablesoccer Changed: Garage to no use NO power saving while on wifi
This commit is contained in:
@@ -6,11 +6,18 @@ esphome:
|
||||
priority: 600
|
||||
then:
|
||||
- output.turn_on: power_control
|
||||
- output.turn_on: st_led
|
||||
|
||||
mqtt:
|
||||
broker: !secret mqtt_broker_1
|
||||
username: !secret mqtt_broker_1_username
|
||||
password: !secret mqtt_broker_1_password
|
||||
on_connect:
|
||||
then:
|
||||
- output.turn_off: st_led
|
||||
on_disconnect:
|
||||
then:
|
||||
- output.turn_on: st_led
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
@@ -31,6 +38,12 @@ output:
|
||||
- platform: gpio
|
||||
pin: 14
|
||||
id: power_control
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: D0
|
||||
mode: output
|
||||
inverted: true
|
||||
id: st_led
|
||||
|
||||
tablesoccer_btn_helper:
|
||||
keep_alive: power_control
|
||||
|
Reference in New Issue
Block a user