espHome-NBS-files/garage1.yaml

45 lines
735 B
YAML
Raw Permalink Normal View History

substitutions:
garageSide: wo # sy, wo
esphome:
name: garage${garageSide}
platform: ESP32
board: esp32dev
ota:
password: !secret gd_passwd
api:
encryption:
key: !secret gd_key
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
power_save_mode: none
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}