Refactor code structure for improved readability and maintainability

This commit is contained in:
CeeWeasel
2026-01-19 14:47:59 -05:00
parent 6550521520
commit 97a0e678c0
84 changed files with 1614 additions and 1177 deletions
+5 -1
View File
@@ -11,7 +11,7 @@ logger:
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
id: local_homeassistant_time
# Enable Home Assistant API
api:
@@ -23,8 +23,12 @@ 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