pyzerproc/light.py
async def _write(self, uuid, value):
        """Internal method to write to the device"""
        _LOGGER.debug("Writing 0x%s to characteristic %s", value.hex(), uuid)
        try:
            await self._client.write_gatt_char(uuid, bytearray(value))
        except Exception as ex:
            raise ZerprocException() from ex
        _LOGGER.debug("Wrote 0x%s to characteristic %s", value.hex(), uuid)
Internal method to write to the device
Internal method to write to the device
Internal method to write to the device
async def _write(self, uuid, value):
        _LOGGER.debug("Writing 0x%s to characteristic %s", value.hex(), uuid)
        try:
            await self._client.write_gatt_char(uuid, bytearray(value))
        except Exception as ex:
            raise ZerprocException() from ex
        _LOGGER.debug("Wrote 0x%s to characteristic %s", value.hex(), uuid)
async def _write ( self , uuid , value ) : _LOGGER . debug ( "Writing 0x%s to characteristic %s" , value . hex ( ) , uuid ) try : await self . _client . write_gatt_char ( uuid , bytearray ( value ) ) except Exception as ex : raise ZerprocException ( ) from ex _LOGGER . debug ( "Wrote 0x%s to characteristic %s" , value . hex ( ) , uuid )
Internal method to write to the device
Internal method to write to the device
"""Internal method to write to the device"""
self
uuid
value