The config files for my esphome devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
679 B

# Basic Config
esphome:
name: kettle
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi-ssid
password: !secret wifi-password
logger:
api:
ota:
# Device Specific Config
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
internal: true
name: "Kettle Button"
on_press:
# Prevents unintended LED lit states.
if:
condition:
- switch.is_off: kettle
then:
#- light.turn_on: blue_led
- switch.turn_on: kettle
else:
- switch.turn_off: kettle
switch:
- platform: gpio
name: "Kettle"
id: kettle
pin: GPIO12