Add nut Watts datapoint (#55491)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
5709640453
commit
e3a7a253ea
1 changed files with 7 additions and 0 deletions
|
@ -453,6 +453,13 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
|
|||
device_class=DEVICE_CLASS_TEMPERATURE,
|
||||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
),
|
||||
"watts": SensorEntityDescription(
|
||||
key="watts",
|
||||
name="Watts",
|
||||
native_unit_of_measurement=POWER_WATT,
|
||||
device_class=DEVICE_CLASS_POWER,
|
||||
state_class=STATE_CLASS_MEASUREMENT,
|
||||
),
|
||||
}
|
||||
|
||||
STATE_TYPES = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue