Skip to content

Commit

Permalink
Merge pull request #581 from MTrab:Fix-zone-selection
Browse files Browse the repository at this point in the history
Fix zone select entity
  • Loading branch information
MTrab authored Apr 16, 2024
2 parents 43bef12 + 13b3c76 commit 6b7267f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/landroid_cloud/device_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6b7267f

Please sign in to comment.