Skip to content

Commit

Permalink
feat: Optimizaiton - Disable fetching Daily data
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyKh authored Nov 22, 2024
1 parent f061bc9 commit f22035a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions custom_components/ims_envista/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ async def _async_update_data(self) -> Any:
LOGGER.debug("Station %d latest data: %s", station, station_latest)
station_data[station][LATEST_KEY] = station_latest

station_daily = (
await self.config_entry.runtime_data.client.get_daily_station_data(
station
)
)
station_data[station][DAILY_KEY] = station_daily.data
# station_daily = (
# await self.config_entry.runtime_data.client.get_daily_station_data(
# station
# )
# )
# station_data[station][DAILY_KEY] = station_daily.data

except ImsEnvistaApiClientAuthenticationError as exception:
raise ConfigEntryAuthFailed(exception) from exception
Expand Down

0 comments on commit f22035a

Please sign in to comment.