From a3139595bba2c756ad3c53bbd8cb56ddebe5b16f Mon Sep 17 00:00:00 2001 From: Paul Frank Date: Thu, 18 Nov 2021 23:04:21 +0100 Subject: [PATCH] Remove zwave_js cover workaround (#59939) --- homeassistant/components/zwave_js/cover.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/homeassistant/components/zwave_js/cover.py b/homeassistant/components/zwave_js/cover.py index 1dee8b0bad3..c94c54e1948 100644 --- a/homeassistant/components/zwave_js/cover.py +++ b/homeassistant/components/zwave_js/cover.py @@ -1,7 +1,6 @@ """Support for Z-Wave cover devices.""" from __future__ import annotations -import asyncio import logging from typing import Any, cast @@ -222,12 +221,6 @@ class ZWaveTiltCover(ZWaveCover): tilt_value, percent_to_zwave_tilt(kwargs[ATTR_TILT_POSITION]), ) - # The following 2 lines are a workaround for this issue: - # https://github.com/zwave-js/node-zwave-js/issues/3611 - # As soon as the issue is fixed, and minimum server schema is bumped - # the 2 lines should be removed. - await asyncio.sleep(2.5) - await self.info.node.async_refresh_cc_values(tilt_value.command_class) async def async_open_cover_tilt(self, **kwargs: Any) -> None: """Open the cover tilt."""