mirror of
https://github.com/home-assistant/core.git
synced 2025-05-20 13:59:15 +00:00
Update ZHA to use apparent power (#62990)
This commit is contained in:
parent
fc1899987a
commit
946544b08f
@ -306,6 +306,7 @@ class ElectricalMeasurementApparentPower(
|
|||||||
"""Apparent power measurement."""
|
"""Apparent power measurement."""
|
||||||
|
|
||||||
SENSOR_ATTR = "apparent_power"
|
SENSOR_ATTR = "apparent_power"
|
||||||
|
_attr_device_class: SensorDeviceClass = SensorDeviceClass.APPARENT_POWER
|
||||||
_unit = POWER_VOLT_AMPERE
|
_unit = POWER_VOLT_AMPERE
|
||||||
_div_mul_prefix = "ac_power"
|
_div_mul_prefix = "ac_power"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user