'Initialize the light.'

def __init__(self, device):

    import tikteck
    self._name = device['name']
    self._address = device['address']
    self._password = device['password']
    self._brightness = 255
    self._rgb = [255, 255, 255]
    self._state = False
    self.is_valid = True
    self._bulb = tikteck.tikteck(self._address, 'Smart    Light', self._password)
    if (self._bulb.connect() is False):
        self.is_valid = False
        _LOGGER.error('Failed    to    connect    to    bulb    %s,    %s', self._address, self._name)
