update readme.md and change state class for uptime sonsor to total_increasing
This commit is contained in:
@@ -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