def turn_off(self): """Turn the entity off.""" zoneminder.change_state('api/monitors/%i.json' % self._monitor_id, {'Monitor[Function]': self._off_state})
def turn_on(self, **kwargs): """Turn the entity on.""" zoneminder.change_state('api/monitors/%i.json' % self._monitor_id, {'Monitor[Function]': self._on_state})
def turn_off(self, **kwargs): """Turn the entity off.""" zoneminder.change_state( 'api/monitors/%i.json' % self._monitor_id, {'Monitor[Function]': self._off_state} )
def turn_off(self): """Turn the entity off.""" zoneminder.change_state("api/monitors/%i.json" % self._monitor_id, {"Monitor[Function]": self._off_state})
def turn_on(self): """Turn the entity on.""" zoneminder.change_state( 'api/monitors/%i.json' % self._monitor_id, {'Monitor[Function]': self._on_state} )