Skip to content

Commit

Permalink
test fire_last_message_received
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed May 13, 2024
1 parent d0e2826 commit be5a745
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/eltako/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ def _fire_last_message_received_event(self):
# self.hass.async_add_executor_job(
# self._last_message_received_handler( datetime.utcnow().replace(tzinfo=pytz.utc) )
# )
asyncio.ensure_future(
self._last_message_received_handler( datetime.utcnow().replace(tzinfo=pytz.utc) )
asyncio.ensure_future(
self._last_message_received_handler( datetime.utcnow().replace(tzinfo=pytz.utc) ),
loop= self._loop
)
LOGGER.info("LAST RECEIVED MESSAGE")

Expand Down

0 comments on commit be5a745

Please sign in to comment.