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: homeassistant_time # Enable Home Assistant API api: reboot_timeout: 15min encryption: key: !secret api-encryption-key ota: - platform: esphome password: !secret ota-password 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