update readme.md and change state class for uptime sonsor to total_increasing
This commit is contained in:
@@ -141,6 +141,7 @@ sys_clock_speed = True
|
||||
swap = True
|
||||
memory = True
|
||||
uptime = True
|
||||
uptime_seconds = False
|
||||
wifi_signal = False
|
||||
wifi_signal_dbm = False
|
||||
rpi5_fan_speed = False
|
||||
|
||||
@@ -272,7 +272,7 @@ def config_json(what_config):
|
||||
data["icon"] = "mdi:calendar"
|
||||
data["name"] = "Uptime"
|
||||
data["unit_of_measurement"] = "days"
|
||||
data["state_class"] = "measurement"
|
||||
data["state_class"] = "total_increasing"
|
||||
elif what_config == "uptime_seconds":
|
||||
data["icon"] = "mdi:timer-outline"
|
||||
data["name"] = "Uptime"
|
||||
|
||||
Reference in New Issue
Block a user