def update_state(self):
        """
        Update state with latest info from Wink API.
        """
        response = self.api_interface.local_get_state(self, type_override="binary_switche")
        return self._update_state_from_response(response)
def update_state ( self ) : response = self . api_interface . local_get_state ( self , type_override = "binary_switche" ) return self . _update_state_from_response ( response )
Update state with latest info from Wink API.