The uptime sensor allows you to track the time the ESP has stayed up for in seconds. Time rollovers are automatically handled.
uptime
# Example configuration entry sensor: - platform: uptime name: Uptime Sensor
update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.
60s
id (Optional, ID): Set the ID of this sensor for use in lambdas.
All other options from Sensor.
Sensor Filters
API Reference
Edit this page on GitHub