From c1d5dd7141ca8ca7c2cbd4b07a97560334d65cae Mon Sep 17 00:00:00 2001 From: Matt Zimmerman Date: Tue, 25 May 2021 23:13:26 -0700 Subject: [PATCH] Remove unneeded **kwargs from SmartTub reminders snooze service (#51093) --- homeassistant/components/smarttub/binary_sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/smarttub/binary_sensor.py b/homeassistant/components/smarttub/binary_sensor.py index 2ca2e10245c..d1019f7f432 100644 --- a/homeassistant/components/smarttub/binary_sensor.py +++ b/homeassistant/components/smarttub/binary_sensor.py @@ -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()