Use REVOLUTIONS_PER_MINUTE constant in danfoss_air (#79987)
parent
2538b9d269
commit
b1dd646ed8
|
@ -10,7 +10,7 @@ from homeassistant.components.sensor import (
|
|||
SensorEntity,
|
||||
SensorStateClass,
|
||||
)
|
||||
from homeassistant.const import PERCENTAGE, TEMP_CELSIUS
|
||||
from homeassistant.const import PERCENTAGE, REVOLUTIONS_PER_MINUTE, TEMP_CELSIUS
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
@ -75,14 +75,14 @@ def setup_platform(
|
|||
["Danfoss Air Fan Step", PERCENTAGE, ReadCommand.fan_step, None, None],
|
||||
[
|
||||
"Danfoss Air Exhaust Fan Speed",
|
||||
"RPM",
|
||||
REVOLUTIONS_PER_MINUTE,
|
||||
ReadCommand.exhaust_fan_speed,
|
||||
None,
|
||||
None,
|
||||
],
|
||||
[
|
||||
"Danfoss Air Supply Fan Speed",
|
||||
"RPM",
|
||||
REVOLUTIONS_PER_MINUTE,
|
||||
ReadCommand.supply_fan_speed,
|
||||
None,
|
||||
None,
|
||||
|
|
Loading…
Reference in New Issue