Skip to content

Commit

Permalink
fix: add callback decorator to hide threading warning
Browse files Browse the repository at this point in the history
closes #2306
closes #2264
  • Loading branch information
danielbrunt57 authored Jul 28, 2024
1 parent db5abc4 commit 4ecb957
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/alexa_media/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def _process_raw_notifications(self):
dt.as_utc(self._attr_native_value),
)

@callback
def _trigger_event(self, time_date) -> None:
_LOGGER.debug(
"%s:Firing %s at %s",
Expand Down

0 comments on commit 4ecb957

Please sign in to comment.