Add `neutral current` sensor for Shelly 3EM (#97981)

pull/97961/head
Maciej Bieniek 2023-08-08 14:47:18 +00:00 committed by GitHub
parent fc463e5831
commit 9910da2f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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",