Uptime Text Sensor¶
The uptime
text sensor provides a human-readable representation the time since boot.
# Example configuration entry
text_sensor:
- platform: uptime
name: Uptime
Configuration variables:¶
update_interval (Optional, Time): The sensor reporting interval. Defaults to
30s
.All other options from Text Sensor.
The resolution of the reported uptime will be determined by the update interval. For example, if the update interval is set to 30 seconds (the default), the uptime will be reported in minutes. Faster updates will result in seconds being reported.