esphome device updates

This commit is contained in:
root
2025-09-20 15:18:46 +12:00
parent a27b79fbd9
commit 1e1d0571d9
32 changed files with 3756 additions and 1188 deletions
+7 -7
View File
@@ -1,8 +1,8 @@
##############################################
############################################################################################
# SPECIFIC DEVICE VARIABLE SUBSTITUTIONS
# If NOT using a secrets file, just replace
# these with the values (in quotes)
#############################################
###########################################################################################
substitutions:
timezone: "Pacific/Auckland"
sntp_update_interval: 6h # Set the duration between the sntp service polling
@@ -11,12 +11,12 @@ substitutions:
sntp_server_2: !secret ntp_server_2
sntp_server_3: !secret ntp_server_3
#############################################
###########################################################################################
# Real time clock time source for ESPHome
# If it's invalid, we fall back to an internal clock
# https://esphome.io/components/time/index.html
# https://esphome.io/components/time/sntp
#############################################
###########################################################################################
time:
- platform: sntp
id: sntp_time
@@ -53,14 +53,14 @@ time:
text_sensor:
# Creates a sensor showing when the device was last restarted
- platform: template
name: "Last Restart"
name: "Time: Last Restart"
id: device_last_restart
icon: mdi:clock
entity_category: diagnostic
#device_class: timestamp
- platform: template
name: "Internal Time"
name: "Time: Internal Time"
id: time_text
update_interval: "1min"
entity_category: diagnostic
@@ -69,7 +69,7 @@ text_sensor:
return { time_text };
- platform: template
name: "Time Sync Status"
name: "Time: Sync Status"
id: time_sync
update_interval: "1min"
entity_category: diagnostic