(self, device)
Initialize device information from provided bluez device.
Initialize device information from provided bluez device.
Initialize device information from provided bluez device .
def __init__(self, device):
        """Initialize device information from provided bluez device."""
        # Get the color characteristic.
        self._colorific = device.find_service(COLOR_SERVICE_UUID)
        self._color = self._colorific.find_characteristic(COLOR_CHAR_UUID)
def __init__ ( self , device ) : # Get the color characteristic. self . _colorific = device . find_service ( COLOR_SERVICE_UUID ) self . _color = self . _colorific . find_characteristic ( COLOR_CHAR_UUID )