Skip to content

Commit

Permalink
Refine POWER_FACTOR device class (#35)
Browse files Browse the repository at this point in the history
- looking at https://developers.home-assistant.io/docs/core/entity/sensor/ "POWER_FACTOR" has % as supported unit.
  • Loading branch information
amandel authored Dec 22, 2024
1 parent 927d474 commit 46f9862
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public enum SensorNumberDeviceClass {
PM1("pm1", "Number", "smoke", null),
PM10("pm10", "Number", "smoke", null),
PM25("pm25", "Number", "smoke", null),
POWER_FACTOR("power_factor", "Number", "qualityofservice", null),
POWER_FACTOR("power_factor", "Number:Dimensionless", "energy", "Power"),
POWER("power", "Number:Power", "energy", "Power"),
PRECIPITATION("precipitation", "Number:Length", "rain", "Rain"),
PRECIPITATION_RATE("precipitation_rate", "Number:Speed", "rain", "Rain"),
Expand Down

0 comments on commit 46f9862

Please sign in to comment.