From da05763a5c1d2dc0a3eae532f17087afdbdf183a Mon Sep 17 00:00:00 2001 From: shbatm Date: Tue, 25 Apr 2023 18:17:11 -0500 Subject: [PATCH] ISY994 remove value when calling open cover with no position (#92036) --- homeassistant/components/isy994/cover.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/isy994/cover.py b/homeassistant/components/isy994/cover.py index 97f3c669772..4504cde713e 100644 --- a/homeassistant/components/isy994/cover.py +++ b/homeassistant/components/isy994/cover.py @@ -16,7 +16,7 @@ from homeassistant.core import HomeAssistant from homeassistant.helpers.entity import DeviceInfo from homeassistant.helpers.entity_platform import AddEntitiesCallback -from .const import _LOGGER, DOMAIN, UOM_8_BIT_RANGE, UOM_BARRIER +from .const import _LOGGER, DOMAIN, UOM_8_BIT_RANGE from .entity import ISYNodeEntity, ISYProgramEntity @@ -63,8 +63,7 @@ class ISYCoverEntity(ISYNodeEntity, CoverEntity): async def async_open_cover(self, **kwargs: Any) -> None: """Send the open cover command to the ISY cover device.""" - val = 100 if self._node.uom == UOM_BARRIER else None - if not await self._node.turn_on(val=val): + if not await self._node.turn_on(): _LOGGER.error("Unable to open the cover") async def async_close_cover(self, **kwargs: Any) -> None: