2024-04-26 19:02:48 +00:00
|
|
|
substitutions:
|
|
|
|
garageSide: sy # sy, wo
|
|
|
|
|
|
|
|
esphome:
|
|
|
|
name: garage${garageSide}
|
|
|
|
platform: ESP32
|
|
|
|
board: esp32dev
|
|
|
|
|
|
|
|
libraries:
|
|
|
|
- plerup/EspSoftwareSerial
|
|
|
|
|
2024-04-29 11:49:12 +00:00
|
|
|
ota:
|
|
|
|
password: !secret gd_passwd
|
|
|
|
api:
|
|
|
|
encryption:
|
|
|
|
key: !secret gd_key
|
2024-04-26 19:02:48 +00:00
|
|
|
|
|
|
|
wifi:
|
|
|
|
ssid: !secret wifi_ssid
|
|
|
|
password: !secret wifi_password
|
|
|
|
fast_connect: true
|
|
|
|
logger:
|
|
|
|
#level: VERY_VERBOSE
|
|
|
|
|
|
|
|
external_components:
|
|
|
|
- source:
|
|
|
|
type: local
|
|
|
|
path: external_components/
|
|
|
|
components: [ hoermann_door ]
|
|
|
|
|
|
|
|
cover:
|
|
|
|
- platform: hoermann_door
|
|
|
|
name: door_${garageSide}
|
2024-04-29 11:49:12 +00:00
|
|
|
|
2024-04-26 19:02:48 +00:00
|
|
|
light:
|
|
|
|
- platform: binary
|
|
|
|
name: door_${garageSide}_lamp
|
2024-04-29 11:49:12 +00:00
|
|
|
id: lamp_id_${garageSide}
|
2024-04-26 19:02:48 +00:00
|
|
|
output: light_out
|
|
|
|
|
|
|
|
output:
|
|
|
|
- id: light_out
|
|
|
|
platform: hoermann_door
|
2024-04-29 11:49:12 +00:00
|
|
|
state_callback: lamp_id_${garageSide}
|
2024-04-26 19:02:48 +00:00
|
|
|
|
|
|
|
|