original_docstring: Return the state attributes of the generic device.
docstring: Return the state attributes of the generic device.
docstring_tokens: Return the state attributes of the generic device .
code: def device_state_attributes(self):
          """Return the state attributes of the generic device."""
          attr = super().device_state_attributes
          if self.is_on:
              attr[ATTR_COLOR_NAME] = self._func_channel.simpleRGBColorState
          return attr
code_tokens: def device_state_attributes ( self ) : attr = super ( ) . device_state_attributes if self . is_on : attr [ ATTR_COLOR_NAME ] = self . _func_channel . simpleRGBColorState return attr
short_docstring: Return the state attributes of the generic device.
short_docstring_tokens: Return the state attributes of the generic device .
comment: """Return the state attributes of the generic device."""