mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-30 14:39:23 +02:00
add SensorStateClass.MEASUREMENT for client counts
This commit is contained in:
parent
b471038cb3
commit
52eeb08c43
1 changed files with 3 additions and 3 deletions
|
@ -313,7 +313,7 @@ SENSOR_TYPES = {
|
||||||
icon="mdi:lan",
|
icon="mdi:lan",
|
||||||
native_unit_of_measurement=None,
|
native_unit_of_measurement=None,
|
||||||
device_class=None,
|
device_class=None,
|
||||||
state_class=None,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
entity_category=None,
|
entity_category=None,
|
||||||
ha_group="System",
|
ha_group="System",
|
||||||
data_path="resource",
|
data_path="resource",
|
||||||
|
@ -328,7 +328,7 @@ SENSOR_TYPES = {
|
||||||
icon="mdi:wifi",
|
icon="mdi:wifi",
|
||||||
native_unit_of_measurement=None,
|
native_unit_of_measurement=None,
|
||||||
device_class=None,
|
device_class=None,
|
||||||
state_class=None,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
entity_category=None,
|
entity_category=None,
|
||||||
ha_group="System",
|
ha_group="System",
|
||||||
data_path="resource",
|
data_path="resource",
|
||||||
|
@ -343,7 +343,7 @@ SENSOR_TYPES = {
|
||||||
icon="mdi:key-wireless",
|
icon="mdi:key-wireless",
|
||||||
native_unit_of_measurement=None,
|
native_unit_of_measurement=None,
|
||||||
device_class=None,
|
device_class=None,
|
||||||
state_class=None,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
entity_category=None,
|
entity_category=None,
|
||||||
ha_group="System",
|
ha_group="System",
|
||||||
data_path="resource",
|
data_path="resource",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue