mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Add device classes for electrical measurement (#36800)
* added device classes for electrical measurement (cherry picked from commit 2409fe19ed43bef568a0cca826652867d3a2d71a) * upadte power factor unit (%) * update power factor unit (%)
This commit is contained in:
@@ -218,6 +218,10 @@ DEVICE_CLASS_TEMPERATURE = "temperature"
|
||||
DEVICE_CLASS_TIMESTAMP = "timestamp"
|
||||
DEVICE_CLASS_PRESSURE = "pressure"
|
||||
DEVICE_CLASS_POWER = "power"
|
||||
DEVICE_CLASS_CURRENT = "current"
|
||||
DEVICE_CLASS_ENERGY = "energy"
|
||||
DEVICE_CLASS_POWER_FACTOR = "power_factor"
|
||||
DEVICE_CLASS_VOLTAGE = "voltage"
|
||||
|
||||
# #### STATES ####
|
||||
STATE_ON = "on"
|
||||
|
||||
Reference in New Issue
Block a user