diff --git a/homeassistant/components/shelly/binary_sensor.py b/homeassistant/components/shelly/binary_sensor.py index bc2ba3326a777..c2127828b0742 100644 --- a/homeassistant/components/shelly/binary_sensor.py +++ b/homeassistant/components/shelly/binary_sensor.py @@ -204,6 +204,15 @@ class RestBinarySensorDescription(RestEntityDescription, BinarySensorEntityDescr entity_category=EntityCategory.DIAGNOSTIC, supported=lambda status: status.get("apower") is not None, ), + "overcurrent": RpcBinarySensorDescription( + key="switch", + sub_key="errors", + name="Overcurrent", + device_class=BinarySensorDeviceClass.PROBLEM, + value=lambda status, _: False if status is None else "overcurrent" in status, + entity_category=EntityCategory.DIAGNOSTIC, + supported=lambda status: status.get("apower") is not None, + ), "smoke": RpcBinarySensorDescription( key="smoke", sub_key="alarm",