-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Tesla wall connector add sensors #117769
Tesla wall connector add sensors #117769
Conversation
Hey there @einarhauks, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests are failing. Can you please give it a look and fix them?
Tests are set up more or less correctly, just needs some scaffolding to enable disabled sensors in the test flow. Will attempt to fix this in a bit. |
…t#117644) * initial commit * Undo prompt chenges * Move format_tool out of the class * Only catch HomeAssistantError and vol.Invalid * Add config flow option * Fix type * Add translation * Allow changing API access from options flow * Allow model picking * Remove allowing HASS Access in main flow * Move model to the top in options flow * Make prompt conditional based on API access * convert only once to dict * Reduce debug logging * Update title * re-order models * Address comments * Move things * Update labels * Add tool call tests * coverage * Use LLM APIs * Fixes * Address comments * Reinstate the title to not break entity name --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Handling disabled sensors in the tests seems to require quite a bit of refactoring, so for now I just enabled the sensors by default. |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
This reverts commit c9ef8de.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bajansen 👍
Proposed change
This PR adds sensor definitions for the PCBA and MCU temperature sensors. The sensor values are already retrieved and made available by the underlying tesla_wall_connector library.
As not all users may be interested in the added sensor values, as evidenced by their lack of inclusion up to now, the sensors will be disabled by default.
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: