def __init__(self, device, config):
    'Initialize the Yeelight light.'
    self.config = config
    self._name = device['name']
    self._ipaddr = device['ipaddr']
    self._supported_features = SUPPORT_YEELIGHT
    self._available = False
    self._bulb_device = None
    self._brightness = None
    self._color_temp = None
    self._is_on = None
    self._hs = None
Initialize the Yeelight light.
def __init__(self, device, config):
    
    self.config = config
    self._name = device['name']
    self._ipaddr = device['ipaddr']
    self._supported_features = SUPPORT_YEELIGHT
    self._available = False
    self._bulb_device = None
    self._brightness = None
    self._color_temp = None
    self._is_on = None
    self._hs = None