Skip to content

Commit

Permalink
Disable fetching of settings when the selected program is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ekutner committed Jul 15, 2023
1 parent ee556ff commit 601c547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion home_connect_async/appliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ async def async_update_data(self, data:dict) -> None:
self.available_programs[selected_key].options = await self._async_fetch_available_options(selected_key)
else:
_LOGGER.debug("Skipping fetch_available_options() for selected program")
self.settings = await self._async_fetch_settings()

# TODO: Trying to remove update of settings when the selected program is changed (2023-07-15)
# self.settings = await self._async_fetch_settings()
await self._callbacks.async_broadcast_event(self, Events.PROGRAM_SELECTED, value)
else:
self.selected_program = None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'home-connect-async',
packages = ['home_connect_async'],
version = '0.7.9',
version = '0.7.10',
license='MIT',
description = 'Async SDK for BSH Home Connect API',
author = 'Eran Kutner',
Expand Down

0 comments on commit 601c547

Please sign in to comment.