espHome-NBS-files/clorPump.yaml

37 lines
558 B
YAML

esphome:
name: Clor_Pump
platform: ESP8266
board: nodemcuv2
# Enable logging
logger:
ota:
password: !secret cp_password
api:
encryption:
key: !secret cp_key
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_passwd
fast_connect: true
switch:
- platform: gpio
pin: D3
id: pump_switch
- platform: custom
name: Clor Pump
button:
- platform: custom
name: prime
binary_sensor:
- platform: gpio
id: pool_pump
pin: D2
# Here is space for any display implementation that could possibliy be. Have fun OK