esphome-things/lib/pkg-common.yaml

34 lines
549 B
YAML

esphome:
name: ${node_name}
#mqtt:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_password
ota:
password: !secret ota_password
#web_server:
#prometheus:
sensor:
- <<: !include sensor-uptime.yaml
- <<: !include sensor-wifi_signal.yaml
- <<: !include sensor-adc-vcc.yaml
binary_sensor:
- <<: !include binary_sensor-status.yaml
light:
- <<: !include light-status_led.yaml
switch:
- <<: !include switch-restart.yaml
- <<: !include switch-safe_mode.yaml
- <<: !include switch-shutdown.yaml