From 9910da2f3de41f2b7676330e095c7635fcdbe18a Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Tue, 8 Aug 2023 14:47:18 +0000 Subject: [PATCH] Add `neutral current` sensor for Shelly 3EM (#97981) --- homeassistant/components/shelly/sensor.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/homeassistant/components/shelly/sensor.py b/homeassistant/components/shelly/sensor.py index b52e176b521..896ffd72327 100644 --- a/homeassistant/components/shelly/sensor.py +++ b/homeassistant/components/shelly/sensor.py @@ -97,6 +97,14 @@ SENSORS: Final = { device_class=SensorDeviceClass.CURRENT, state_class=SensorStateClass.MEASUREMENT, ), + ("device", "neutralCurrent"): BlockSensorDescription( + key="device|neutralCurrent", + name="Neutral current", + native_unit_of_measurement=UnitOfElectricCurrent.AMPERE, + device_class=SensorDeviceClass.CURRENT, + state_class=SensorStateClass.MEASUREMENT, + entity_registry_enabled_default=False, + ), ("light", "power"): BlockSensorDescription( key="light|power", name="Power",