mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Fix Vallox extract and supply fan speed measurement units (#77692)
This commit is contained in:
parent
fa7f04c34b
commit
8fd18cda30
@ -13,7 +13,6 @@ from homeassistant.components.sensor import (
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import (
|
||||
CONCENTRATION_PARTS_PER_MILLION,
|
||||
FREQUENCY_HERTZ,
|
||||
PERCENTAGE,
|
||||
TEMP_CELSIUS,
|
||||
)
|
||||
@ -157,7 +156,7 @@ SENSOR_ENTITIES: tuple[ValloxSensorEntityDescription, ...] = (
|
||||
metric_key="A_CYC_EXTR_FAN_SPEED",
|
||||
icon="mdi:fan",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=FREQUENCY_HERTZ,
|
||||
native_unit_of_measurement="RPM",
|
||||
entity_type=ValloxFanSpeedSensor,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
@ -167,7 +166,7 @@ SENSOR_ENTITIES: tuple[ValloxSensorEntityDescription, ...] = (
|
||||
metric_key="A_CYC_SUPP_FAN_SPEED",
|
||||
icon="mdi:fan",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=FREQUENCY_HERTZ,
|
||||
native_unit_of_measurement="RPM",
|
||||
entity_type=ValloxFanSpeedSensor,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user