async def METHOD_NAME(self, data):
    self.logger.debug(f"update call {str(data)}")
    self.last_update = time.time()
    if data is None:
        return
    await fhem.readingsBeginUpdate(self.hash)
    # device is online
    await fhem.readingsBulkUpdateIfChanged(self.hash, "state", "online")
    # update data
    for reading in list(data):
        if reading == "added_device":
            pass
        else:
            await fhem.readingsBulkUpdateIfChanged(
                self.hash, reading.replace(" ", "_"), str(data[reading])
            )
    await fhem.readingsEndUpdate(self.hash, 1)