Skip to content
Snippets Groups Projects
Unverified Commit 55f9d985 authored by Marc Mueller's avatar Marc Mueller Committed by GitHub
Browse files

Fix deprecated method isAlive() (#46062)

parent 55f81a8a
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ class ZwaveDimmer(ZWaveDeviceEntity, LightEntity):
self._refreshing = True
self.values.primary.refresh()
if self._timer is not None and self._timer.isAlive():
if self._timer is not None and self._timer.is_alive():
self._timer.cancel()
self._timer = Timer(self._delay, _refresh_value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment