

def _update_callback(self, _device, _params):
    'Called by the wemo device callback to update state.'
    _LOGGER.info('Subscription update for  %s', _params)
    if (not hasattr(self, 'hass')):
        self.update()
        return
    self.update_ha_state(True)

dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/wemo.py WemoBinarySensor._update_callback/VarMisuse@22/56 `_device`->`_params`