add SensorStateClass.MEASUREMENT for client counts

This commit is contained in:
910patin 2023-05-27 16:46:49 +03:00 committed by GitHub
parent b471038cb3
commit 52eeb08c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,7 @@ SENSOR_TYPES = {
icon="mdi:lan",
native_unit_of_measurement=None,
device_class=None,
state_class=None,
state_class=SensorStateClass.MEASUREMENT,
entity_category=None,
ha_group="System",
data_path="resource",
@ -328,7 +328,7 @@ SENSOR_TYPES = {
icon="mdi:wifi",
native_unit_of_measurement=None,
device_class=None,
state_class=None,
state_class=SensorStateClass.MEASUREMENT,
entity_category=None,
ha_group="System",
data_path="resource",
@ -343,7 +343,7 @@ SENSOR_TYPES = {
icon="mdi:key-wireless",
native_unit_of_measurement=None,
device_class=None,
state_class=None,
state_class=SensorStateClass.MEASUREMENT,
entity_category=None,
ha_group="System",
data_path="resource",