diff --git a/homeassistant/components/edl21/sensor.py b/homeassistant/components/edl21/sensor.py index 3ce42198fbd..1cf611db881 100644 --- a/homeassistant/components/edl21/sensor.py +++ b/homeassistant/components/edl21/sensor.py @@ -72,6 +72,15 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = ( icon="mdi:flash", ), # C=1: Active power + + # D=7: Current value + # E=0: Total + SensorEntityDescription( + key="1-0:1.7.0*255", + translation_key="positive_active_instantaneous_power", + state_class=SensorStateClass.MEASUREMENT, + device_class=SensorDeviceClass.POWER, + ), + # C=1: Active energy + # D=8: Time integral 1 # E=0: Total SensorEntityDescription( @@ -100,7 +109,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = ( key="1-0:1.17.0*255", translation_key="last_signed_positive_active_energy_total", ), - # C=2: Active power - + # C=2: Active energy - # D=8: Time integral 1 # E=0: Total SensorEntityDescription( diff --git a/homeassistant/components/edl21/strings.json b/homeassistant/components/edl21/strings.json index 43978642943..b23cb8103fa 100644 --- a/homeassistant/components/edl21/strings.json +++ b/homeassistant/components/edl21/strings.json @@ -26,6 +26,9 @@ "firmware_version_number": { "name": "Firmware version number" }, + "positive_active_instantaneous_power": { + "name": "Positive active instantaneous power" + }, "positive_active_energy_total": { "name": "Positive active energy total" },