mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Add support for Shelly Flood gen4 (#136981)
This commit is contained in:
@@ -272,6 +272,18 @@ RPC_SENSORS: Final = {
|
|||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
entity_class=RpcBluTrvBinarySensor,
|
entity_class=RpcBluTrvBinarySensor,
|
||||||
),
|
),
|
||||||
|
"flood": RpcBinarySensorDescription(
|
||||||
|
key="flood",
|
||||||
|
sub_key="alarm",
|
||||||
|
name="Flood",
|
||||||
|
device_class=BinarySensorDeviceClass.MOISTURE,
|
||||||
|
),
|
||||||
|
"mute": RpcBinarySensorDescription(
|
||||||
|
key="flood",
|
||||||
|
sub_key="mute",
|
||||||
|
name="Mute",
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user