ESPHome-Devices/devices/fire_pit_fountain.yaml
Chris Nussbaum 1b6d90d399
A bunch of misc changes (#32)
* Temporarily disable the heater

* Shell of new garage fridge component

* Core code should be mostly complete

* Add power monitoring and freezer temp control

* Wrap up core temperature management code

* Add fixed InkBird component

* The new fridge manages temp in the freezer better so we are able to greatly simplify things

* Finish garage fridge

* Misc changes

Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com>
2022-03-29 13:54:34 -05:00

54 lines
1.1 KiB
YAML

substitutions:
device_id: fire_pit_fountain
device_name: Fire Pit and Fountain
board: d1_mini
ip_address: !secret fire-pit-fountain-ip
ota_pwd: !secret fire-pit-fountain-ota-pwd
api_pwd: !secret fire-pit-fountain-api-pwd
ap_wifi_pwd: !secret fire-pit-fountain-ap-pwd
packages:
device_base: !include ../packages/device_base.yaml
binary_sensor:
- platform: gpio
id: fountain_toggle
pin:
number: D6
mode: INPUT_PULLUP
inverted: True
on_press:
then:
- switch.toggle: fountain
- platform: gpio
id: fire_pit_toggle
pin:
number: D7
mode: INPUT_PULLUP
inverted: True
on_multi_click:
- timing:
- ON for at least 3s
- OFF for at least .1s
then:
- switch.toggle: fire_pit
- timing:
- ON for at most 3s
- OFF for at least .1s
then:
- switch.turn_off: fire_pit
switch:
- platform: gpio
id: fountain
name: "Fountain"
icon: mdi:fountain
pin: D1
inverted: true
- platform: gpio
id: fire_pit
name: "Fire Pit"
icon: mdi:fire
pin: D2
inverted: true