Remove unneeded **kwargs from SmartTub reminders snooze service (#51093)

pull/51097/head
Matt Zimmerman 2021-05-25 23:13:26 -07:00 committed by GitHub
parent 154c849eac
commit c1d5dd7141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ class SmartTubReminder(SmartTubEntity, BinarySensorEntity):
"""Return the device class for this entity."""
return DEVICE_CLASS_PROBLEM
async def async_snooze(self, **kwargs):
async def async_snooze(self, days):
"""Snooze this reminder for the specified number of days."""
days = kwargs[ATTR_SNOOZE_DAYS]
await self.reminder.snooze(days)
await self.coordinator.async_request_refresh()