def mirror(self):
        self._states = {state.entity_id: state for state
                        in get_states(self._api)}
Discard current data and mirrors the remote state machine.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/remote.py/StateMachine.mirror