Skip to content

Commit

Permalink
Bring back Netatmo force update code (home-assistant#81098)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgtobi authored and balloob committed Oct 27, 2022
1 parent cbd5e91 commit 43164b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/netatmo/data_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ async def async_update(self, event_time: datetime) -> None:
@callback
def async_force_update(self, signal_name: str) -> None:
"""Prioritize data retrieval for given data class entry."""
# self.publisher[signal_name].next_scan = time()
# self._queue.rotate(-(self._queue.index(self.publisher[signal_name])))
self.publisher[signal_name].next_scan = time()
self._queue.rotate(-(self._queue.index(self.publisher[signal_name])))

async def handle_event(self, event: dict) -> None:
"""Handle webhook events."""
Expand Down

0 comments on commit 43164b5

Please sign in to comment.