Apply suggestions from code review

This commit is contained in:
Christopher Fenner
2024-01-28 23:19:10 +01:00
committed by Masoko
parent ea4f7b1d52
commit 392c5f994c

View File

@@ -289,7 +289,7 @@ def config_json(what_config):
data["state_class"] = "measurement"
elif what_config == "git_update":
data["icon"] = "mdi:git"
data["name"] = "Script version"
data["name"] = "RPi MQTT Monitor"
data["device_class"] = "update"
data["state_class"] = "measurement"
data["payload_on"] = "on"