Fix calculation in Refoss (#120069)
This commit is contained in:
parent
3b6189a432
commit
a6724db01b
1 changed files with 2 additions and 2 deletions
|
@ -50,10 +50,10 @@ SENSORS: dict[str, tuple[RefossSensorEntityDescription, ...]] = {
|
|||
translation_key="power",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=UnitOfPower.KILO_WATT,
|
||||
suggested_unit_of_measurement=UnitOfPower.WATT,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
suggested_display_precision=2,
|
||||
subkey="power",
|
||||
fn=lambda x: x / 1000.0,
|
||||
),
|
||||
RefossSensorEntityDescription(
|
||||
key="voltage",
|
||||
|
|
Loading…
Add table
Reference in a new issue