diff --git a/custom_components/landroid_cloud/device_base.py b/custom_components/landroid_cloud/device_base.py index 35b3cb6..a3db0af 100644 --- a/custom_components/landroid_cloud/device_base.py +++ b/custom_components/landroid_cloud/device_base.py @@ -887,7 +887,7 @@ async def async_select_option(self, option: int) -> None: option, ) - self.entity_description.command_fn(self._api, str(option - 1)) + self.entity_description.command_fn(self._api, str(int(option) - 1)) class LandroidButton(ButtonEntity):