Skip to content

Commit

Permalink
add duration class for uptime (closes #1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Jul 13, 2024
1 parent f3baf85 commit d117acd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/etc/ebusd/mqtt-hassio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def_global_running-payload = %global_prefix,
"device_class":"running"%global_boolean_suffix
def_global_version-topic =
def_global_uptime-payload = %global_prefix,
"device_class":"duration",
"state_class":"total_increasing",
"unit_of_measurement":"s"
}
Expand Down

0 comments on commit d117acd

Please sign in to comment.