Add Shelly restart required binary sensor (#112493)

This commit is contained in:
Simone Chemelli 2024-03-06 12:37:15 +01:00 committed by GitHub
parent 2684b1f772
commit 8cd98a5319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,6 +206,13 @@ RPC_SENSORS: Final = {
name="Smoke",
device_class=BinarySensorDeviceClass.SMOKE,
),
"restart": RpcBinarySensorDescription(
key="sys",
sub_key="restart_required",
name="Restart required",
device_class=BinarySensorDeviceClass.PROBLEM,
entity_category=EntityCategory.DIAGNOSTIC,
),
}