mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
17 lines
372 B
YAML
17 lines
372 B
YAML
# 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
|