mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Remove unneeded **kwargs from SmartTub reminders snooze service (#51093)
This commit is contained in:
parent
154c849eac
commit
c1d5dd7141
@ -115,8 +115,7 @@ class SmartTubReminder(SmartTubEntity, BinarySensorEntity):
|
|||||||
"""Return the device class for this entity."""
|
"""Return the device class for this entity."""
|
||||||
return DEVICE_CLASS_PROBLEM
|
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."""
|
"""Snooze this reminder for the specified number of days."""
|
||||||
days = kwargs[ATTR_SNOOZE_DAYS]
|
|
||||||
await self.reminder.snooze(days)
|
await self.reminder.snooze(days)
|
||||||
await self.coordinator.async_request_refresh()
|
await self.coordinator.async_request_refresh()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user