mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Add Shelly restart required binary sensor (#112493)
This commit is contained in:
parent
2684b1f772
commit
8cd98a5319
@ -206,6 +206,13 @@ RPC_SENSORS: Final = {
|
|||||||
name="Smoke",
|
name="Smoke",
|
||||||
device_class=BinarySensorDeviceClass.SMOKE,
|
device_class=BinarySensorDeviceClass.SMOKE,
|
||||||
),
|
),
|
||||||
|
"restart": RpcBinarySensorDescription(
|
||||||
|
key="sys",
|
||||||
|
sub_key="restart_required",
|
||||||
|
name="Restart required",
|
||||||
|
device_class=BinarySensorDeviceClass.PROBLEM,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user