def update_state(self, name, state):
        """Update the state for a service.

        Args:
            name (string): The name of the service
            state (int): The new state of the service
        """

        self._loop.run_coroutine(self._client.update_state(name, state))
def update_state ( self , name , state ) : self . _loop . run_coroutine ( self . _client . update_state ( name , state ) )
Update the state for a service.

        Args:
            name (string): The name of the service
            state (int): The new state of the service