FutureTense / keymaster

Home Assistant integration for managing Z-Wave enabled locks
MIT License
239 stars 45 forks source link

Fix Timer start service call since duration parameter is being deprecated #341

Closed roblamoreaux closed 1 year ago

roblamoreaux commented 1 year ago

Breaking change

None

Proposed change

HA has announced that the duration parameter of the timer start service is being deprecated. This change uses timer.change to set the timer duration then timer.start to start the timer.

Type of change

Fixed deprecated timer call that will no longer work in a couple month, causing it to break.

Additional information

firstof9 commented 1 year ago

Have you tested the changes on your system already?

roblamoreaux commented 1 year ago

Yes, I have had this change running on my HA for the last few days with no warnings and it works fine.

firstof9 commented 1 year ago

Thanks!