Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Plugwise select and add regulation_mode selector #69210

Merged
merged 8 commits into from
May 11, 2022
Prev Previous commit
Next Next commit
Update homeassistant/components/plugwise/select.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
  • Loading branch information
bouwew and frenck authored May 11, 2022
commit 4857f276ccc14f82a933a152304d7dedd46929b4
2 changes: 1 addition & 1 deletion homeassistant/components/plugwise/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def options(self) -> list[str]:
async def async_select_option(self, option: str) -> None:
"""Change to the selected entity option."""
await self.entity_description.command(
self.coordinator, self.device["location"], option
self.coordinator.api, self.device["location"], option
)

await self.coordinator.async_request_refresh()