Skip to content

Commit

Permalink
Add required **kwargs to signature of async_lock and async_unlock (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignisf authored Feb 20, 2023
1 parent 598868b commit 253ea7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/dbuezas_eq3btsmart/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def __init__(self, _thermostat: Thermostat):
_thermostat.register_update_callback(self.schedule_update_ha_state)
self._attr_name = "Locked"

async def async_lock(self):
async def async_lock(self, **kwargs):
await self._thermostat.async_set_locked(True)

async def async_unlock(self):
async def async_unlock(self, **kwargs):
await self._thermostat.async_set_locked(False)

@property
Expand Down

0 comments on commit 253ea7b

Please sign in to comment.