56 lines
1.0 KiB
YAML
56 lines
1.0 KiB
YAML
|
substitutions:
|
||
|
garageSide: sy # sy, wo
|
||
|
|
||
|
esphome:
|
||
|
name: garage${garageSide}
|
||
|
platform: ESP32
|
||
|
board: esp32dev
|
||
|
|
||
|
libraries:
|
||
|
- plerup/EspSoftwareSerial
|
||
|
|
||
|
# custom_component:
|
||
|
# - lambda: |-
|
||
|
# auto door = new HoermanDoor();
|
||
|
# App.register_component(door);
|
||
|
# return {door};
|
||
|
# components:
|
||
|
# - id: door_${garageSide}
|
||
|
# - lambda: |-
|
||
|
# auto light = new NbsLightOutput();
|
||
|
# App.register_component(light);
|
||
|
# return {light};
|
||
|
# components:
|
||
|
# - id: door_${garageSide}_lamp
|
||
|
|
||
|
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}
|
||
|
light:
|
||
|
- platform: binary
|
||
|
name: door_${garageSide}_lamp
|
||
|
output: light_out
|
||
|
|
||
|
output:
|
||
|
- id: light_out
|
||
|
platform: hoermann_door
|
||
|
|
||
|
|
||
|
ota:
|
||
|
password: !secret gd_passwd
|
||
|
api:
|
||
|
encryption:
|
||
|
key: !secret gd_key
|