diff --git a/homeassistant/components/shelly/light.py b/homeassistant/components/shelly/light.py index 3530241f102..295f64b01f6 100644 --- a/homeassistant/components/shelly/light.py +++ b/homeassistant/components/shelly/light.py @@ -380,6 +380,9 @@ class BlockShellyLight(ShellyBlockEntity, LightEntity): class RpcShellyLight(ShellyRpcEntity, LightEntity): """Entity that controls a light on RPC based Shelly devices.""" + _attr_color_mode = ColorMode.ONOFF + _attr_supported_color_modes = {ColorMode.ONOFF} + def __init__(self, wrapper: RpcDeviceWrapper, id_: int) -> None: """Initialize light.""" super().__init__(wrapper, f"switch:{id_}")