Add time synchronization and some general debugging sensors

This commit is contained in:
Adam Goldsmith 2023-04-20 00:51:07 -04:00
parent 8ba4a946f2
commit 2b0db0489a

View File

@ -17,3 +17,28 @@ wifi:
ssid: "CMS-HVAC" ssid: "CMS-HVAC"
password: !secret wifi_password password: !secret wifi_password
domain: .hvac.claremontmakerspace.org domain: .hvac.claremontmakerspace.org
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
# Text sensors with general information.
text_sensor:
# Expose ESPHome version as sensor.
- platform: version
name: ${node_name} ESPHome Version
# Expose WiFi information as sensors.
- platform: wifi_info
ip_address:
name: ${node_name} IP
ssid:
name: ${node_name} SSID
bssid:
name: ${node_name} BSSID
# Sensors with general information.
sensor:
# Uptime sensor.
- platform: uptime
name: ${node_name} Uptime