home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.73k stars 29.98k forks source link

Update uptime to absolute time values #50340

Open chemelli74 opened 3 years ago

chemelli74 commented 3 years ago

The problem

Uptime should use absolute time values and not relative time values. This is the list of the letfovers:

Sensors:

Attributes:

DAVe3283 commented 2 years ago

I was actually just about to post an issue that is the opposite of this. I prefer the ESPHome way of reporting the current uptime as an accumulating number of seconds. Makes the data much more friendly for things like InfluxDB and Grafana.

chemelli74 commented 2 years ago

I was actually just about to post an issue that is the opposite of this. I prefer the ESPHome way of reporting the current uptime as an accumulating number of seconds. Makes the data much more friendly for things like InfluxDB and Grafana.

This is an architecture design and 99% of HA is already compliant.

Simone