Last active
October 4, 2025 21:33
-
-
Save marksharrison/6065d866522b639303d50b301b23b0cc to your computer and use it in GitHub Desktop.
Common ESPHome base device configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Network | |
| wifi: | |
| ssid: !secret wifi_ssid | |
| password: !secret wifi_password | |
| domain: !secret wifi_domain | |
| fast_connect: true | |
| power_save_mode: none # <-- helps reduce latency | |
| id: wifi_id | |
| ap: | |
| password: !secret wifi_ap_password | |
| ssid: ${device_name} hotspot | |
| captive_portal: | |
| # ESPHome API & OTA | |
| api: | |
| encryption: | |
| key: !secret api_encryption_key | |
| reboot_timeout: 0s | |
| ota: | |
| - platform: esphome | |
| password: !secret ota_password | |
| on_begin: | |
| - lambda: id(wifi_id).set_power_save_mode(esphome::wifi::WIFI_POWER_SAVE_NONE); | |
| logger: | |
| level: ${log_level} | |
| # Time configuration for scheduling | |
| time: | |
| - platform: homeassistant | |
| id: homeassistant_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment