Import YAML files into repository

This commit is contained in:
2026-01-20 23:08:05 -07:00
parent af94e08fe4
commit 3239e56c8d
31 changed files with 1550 additions and 1 deletions

16
common/uptime-info.yaml Normal file
View File

@@ -0,0 +1,16 @@
# Requires time.yaml
sensor:
- platform: uptime
id: uptime_seconds
type: seconds
name: Uptime
disabled_by_default: true
- platform: uptime
id: uptime_timestamp
type: timestamp
name: Last Boot
# FIXME: Fix the uptime component so that it can use any configured time
# source, rather than just the first one.
time_id: sntp_time