File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
custom_components/garbage_collection Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 6565THROTTLE_INTERVAL = timedelta (seconds = 60 )
6666
6767
68- _LOGGER = logging .getLogger (__name__ )
69-
70-
7168async def async_setup_platform (hass , _ , async_add_entities , discovery_info = None ):
7269 """Create garbage collection entities defined in YAML and add them to HA."""
7370 async_add_entities ([GarbageCollection (hass , discovery_info )], True )
@@ -644,7 +641,7 @@ async def _async_find_next_date(self, first_date: date) -> Optional[date]:
644641 try :
645642 next_date = await self ._async_find_candidate_date (day1 ) + relativedelta (
646643 days = self ._offset
647- ) # type: ignore
644+ ) # type: ignore
648645 next_date = await self ._async_skip_holidays (next_date )
649646 except ValueError :
650647 raise
You can’t perform that action at this time.
0 commit comments