@property
def brightness(self) -> int:
    'Return the brightness of this light between 0..255.'
    return int(((self._device.dimLevel or 0.0) * 255))
Return the brightness of this light between 0..255.
@property
def brightness(self) -> int:
    
    return int(((self._device.dimLevel or 0.0) * 255))