From 4a22b463d14026805dfabac6c8f99a2ca2dfee2c Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com> Date: Tue, 10 Jan 2023 09:36:18 +0100 Subject: [PATCH] Plugwise: add missing P1v2 sensors (#85589) Add missing P1v2 sensors --- homeassistant/components/plugwise/sensor.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/homeassistant/components/plugwise/sensor.py b/homeassistant/components/plugwise/sensor.py index c9d1c4dc0143ea..6039cadf39240b 100644 --- a/homeassistant/components/plugwise/sensor.py +++ b/homeassistant/components/plugwise/sensor.py @@ -164,6 +164,13 @@ device_class=SensorDeviceClass.ENERGY, state_class=SensorStateClass.TOTAL, ), + SensorEntityDescription( + key="electricity_consumed_point", + name="Electricity consumed point", + device_class=SensorDeviceClass.POWER, + native_unit_of_measurement=UnitOfPower.WATT, + state_class=SensorStateClass.MEASUREMENT, + ), SensorEntityDescription( key="electricity_consumed_off_peak_point", name="Electricity consumed off peak point", @@ -192,6 +199,13 @@ device_class=SensorDeviceClass.ENERGY, state_class=SensorStateClass.TOTAL_INCREASING, ), + SensorEntityDescription( + key="electricity_produced_point", + name="Electricity produced point", + device_class=SensorDeviceClass.POWER, + native_unit_of_measurement=UnitOfPower.WATT, + state_class=SensorStateClass.MEASUREMENT, + ), SensorEntityDescription( key="electricity_produced_off_peak_point", name="Electricity produced off peak point",