Move to _data along with some misc clean-up.

This commit is contained in:
2022-04-03 09:29:13 -07:00
parent 1df0987e67
commit 042c9d6108
19 changed files with 259 additions and 30 deletions

View File

@@ -0,0 +1,55 @@
esphome:
name: rack_2_duct_fan_pwr
platform: ESP8266
board: esp01_1m
wifi:
ssid: kungle-ot
password: ThingsWelcomeToKungle
manual_ip:
static_ip: 192.168.37.70
gateway: 192.168.37.1
subnet: 255.255.255.0
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# binary_sensor:
# - platform: gpio
# pin:
# number: GPIO4
# mode: INPUT_PULLUP
# inverted: True
# name: "Rack 2 Duct Fan Power Button"
# on_press:
# - switch.toggle: relay
switch:
- platform: gpio
name: "Rack 2 Duct Fan Power Relay"
pin: GPIO14
id: relay
status_led:
pin:
number: GPIO12
inverted: yes
# sensor:
# - platform: wifi_signal
# name: "Rack 2 Duct Fan Power WiFi Signal"
# update_interval: 60s
# - platform: uptime
# name: "Rack 2 Duct Fan Power uptime"
# text_sensor:
# - platform: version
# name: "Rack 2 Duct Fan Power ESPHome Version"