mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-03 09:24:31 +02:00
Added measurement state class to utilization sensors
This commit is contained in:
parent
e1d397f8e1
commit
dc2e804f0e
1 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ SENSOR_TYPES = {
|
|||
icon="mdi:speedometer",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
device_class=None,
|
||||
state_class=None,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=None,
|
||||
ha_group="System",
|
||||
data_path="resource",
|
||||
|
@ -245,7 +245,7 @@ SENSOR_TYPES = {
|
|||
icon="mdi:memory",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
device_class=None,
|
||||
state_class=None,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=None,
|
||||
ha_group="System",
|
||||
data_path="resource",
|
||||
|
@ -260,7 +260,7 @@ SENSOR_TYPES = {
|
|||
icon="mdi:harddisk",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
device_class=None,
|
||||
state_class=None,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=None,
|
||||
ha_group="System",
|
||||
data_path="resource",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue