@property
def device_state_attributes(self) -> Dict[(str, Any)]:
    'Return the state attributes of the generic device.'
    state_attr = super().device_state_attributes
    if self.is_on:
        state_attr[ATTR_COLOR_NAME] = self._func_channel.simpleRGBColorState
    return state_attr
Return the state attributes of the generic device.
@property
def device_state_attributes(self) -> Dict[(str, Any)]:
    
    state_attr = super().device_state_attributes
    if self.is_on:
        state_attr[ATTR_COLOR_NAME] = self._func_channel.simpleRGBColorState
    return state_attr