Skip to content

Commit 57d763f

Browse files
author
Vaclav
committed
black
1 parent db18b8d commit 57d763f

File tree

1 file changed

+1
-4
lines changed
  • custom_components/garbage_collection

1 file changed

+1
-4
lines changed

custom_components/garbage_collection/sensor.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@
6565
THROTTLE_INTERVAL = timedelta(seconds=60)
6666

6767

68-
_LOGGER = logging.getLogger(__name__)
69-
70-
7168
async 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

0 commit comments

Comments
 (0)