mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Add nut Watts datapoint (#55491)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
5709640453
commit
e3a7a253ea
@ -453,6 +453,13 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
|
|||||||
device_class=DEVICE_CLASS_TEMPERATURE,
|
device_class=DEVICE_CLASS_TEMPERATURE,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
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 = {
|
STATE_TYPES = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user