def set(self, entity_id, new_state, attributes=None):
        set_state(self._api, entity_id, new_state, attributes)
Call set_state on remote API.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/remote.py/StateMachine.set