espHome-NBS-files/garage1.yaml

47 lines
756 B
YAML

substitutions:
garageSide: sy # sy, wo
esphome:
name: garage${garageSide}
platform: ESP32
board: esp32dev
libraries:
- plerup/EspSoftwareSerial
ota:
password: !secret gd_passwd
api:
encryption:
key: !secret gd_key
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
id: lamp_id_${garageSide}
output: light_out
output:
- id: light_out
platform: hoermann_door
state_callback: lamp_id_${garageSide}