mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
Import YAML files into repository
This commit is contained in:
16
common/uptime-info.yaml
Normal file
16
common/uptime-info.yaml
Normal 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
|
||||
Reference in New Issue
Block a user