mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
35 lines
757 B
YAML
35 lines
757 B
YAML
esphome:
|
|
name: ${devicename}
|
|
comment: ${comment}
|
|
friendly_name: ${friendly_name}
|
|
# platform: ${platform}
|
|
# board: ${board}
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Sync time with Home Assistant.
|
|
time:
|
|
- platform: homeassistant
|
|
id: local_homeassistant_time
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
reboot_timeout: 15min
|
|
encryption:
|
|
key: !secret api-encryption-key
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: !secret ota-password
|
|
|
|
debug:
|
|
update_interval: 10s
|
|
|
|
packages:
|
|
binary_sensor: !include binary_sensor/status_sensor.config.yaml
|
|
button: !include button/restart_button.config.yaml
|
|
sensor: !include sensor/uptime_sensor.config.yaml
|
|
# debug: !include sensor/debug_sensor.config.yaml
|
|
text_sensor: !include text_sensor/version_sensor.config.yaml
|