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

fix: Adjust polling interval if car is being charged and is an e-tron #503

Closed
wants to merge 2 commits into from

Conversation

MichelFR
Copy link

@MichelFR MichelFR commented Nov 28, 2024

Add a condition to check if the car is being charged and is an e-tron to adjust the polling interval to 30 seconds.

  • Modify custom_components/audiconnect/__init__.py to include the new condition and adjust the polling interval accordingly.
  • Add a method in custom_components/audiconnect/audi_account.py to check if the car is being charged and is an e-tron, returning a boolean value based on the condition.

For more details, open the Copilot Workspace session.

MichelFR and others added 2 commits November 28, 2024 09:48
Add a condition to check if the car is being charged and is an e-tron to adjust the polling interval to 30 seconds.

* Modify `custom_components/audiconnect/__init__.py` to include the new condition and adjust the polling interval accordingly.
* Add a method in `custom_components/audiconnect/audi_account.py` to check if the car is being charged and is an e-tron, returning a boolean value based on the condition.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/audiconnect/audi_connect_ha?shareId=XXXX-XXXX-XXXX-XXXX).
@MichelFR MichelFR changed the title Adjust polling interval if car is being charged and is an e-tron fix: Adjust polling interval if car is being charged and is an e-tron Nov 28, 2024
@MichelFR MichelFR closed this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant