Files
fresh-home/esphome/common/device_base.yaml
T
2025-03-10 20:00:56 -04:00

32 lines
546 B
YAML

esphome:
name: ${devicename}
# platform: ${platform}
# board: ${board}
# Enable logging
logger:
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
# Enable Home Assistant API
api:
reboot_timeout: 15min
ota:
- platform: esphome
binary_sensor:
- <<: !include binary_sensor/status_sensor.config.yaml
button:
- <<: !include button/restart_button.config.yaml
sensor:
- <<: !include sensor/uptime_sensor.config.yaml
#text_sensor:
# - <<: !include text_sensor/version_sensor.config.yaml