From 203217c17537633004bc132ee1df45728319ea1b Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 4 Jun 2020 10:21:27 +0200 Subject: [PATCH] Add additional sensors to Plugwise integration (#36431) --- homeassistant/components/plugwise/sensor.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/homeassistant/components/plugwise/sensor.py b/homeassistant/components/plugwise/sensor.py index 08ba3595fcd..68634de8242 100644 --- a/homeassistant/components/plugwise/sensor.py +++ b/homeassistant/components/plugwise/sensor.py @@ -69,11 +69,31 @@ ENERGY_SENSOR_MAP = { ENERGY_WATT_HOUR, DEVICE_CLASS_POWER, ], + "electricity_consumed_peak_interval": [ + "Consumed Power Interval", + ENERGY_WATT_HOUR, + DEVICE_CLASS_POWER, + ], + "electricity_consumed_off_peak_interval": [ + "Consumed Power Interval (off peak)", + ENERGY_WATT_HOUR, + DEVICE_CLASS_POWER, + ], "electricity_produced_interval": [ "Produced Power Interval", ENERGY_WATT_HOUR, DEVICE_CLASS_POWER, ], + "electricity_produced_peak_interval": [ + "Produced Power Interval", + ENERGY_WATT_HOUR, + DEVICE_CLASS_POWER, + ], + "electricity_produced_off_peak_interval": [ + "Produced Power Interval (off peak)", + ENERGY_WATT_HOUR, + DEVICE_CLASS_POWER, + ], "electricity_consumed_off_peak_point": [ "Current Consumed Power (off peak)", POWER_WATT,