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

Renault HVAC status error #119722

Closed
B-double-U opened this issue Jun 15, 2024 · 8 comments · Fixed by #120727
Closed

Renault HVAC status error #119722

B-double-U opened this issue Jun 15, 2024 · 8 comments · Fixed by #120727
Assignees
Labels
integration: renault waiting-for-upstream We're waiting for a change upstream

Comments

@B-double-U
Copy link

The problem

After the recent update of the integration, there is still an error persisting.

Logger: homeassistant.components.renault.renault_vehicle
Source: helpers/update_coordinator.py:312
integration: Renault (documentation, issues)
First occurred: June 14, 2024 at 11:07:54 (200 occurrences)
Last logged: 10:21:39

Unexpected error fetching [vehicle VIN redacted] hvac_status data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/renault/coordinator.py", line 57, in _async_update_data
data = await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/renault_vehicle.py", line 160, in get_hvac_status
response.get_attributes(schemas.KamereonVehicleHvacStatusDataSchema),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/models.py", line 353, in get_attributes
cast(KamereonVehicleDataAttributes, schema.load(self.data.attributes))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/marshmallow_dataclass/init.py", line 910, in load
all_loaded = super().load(data, many=many, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/marshmallow/schema.py", line 722, in load
return self._do_load(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/marshmallow/schema.py", line 909, in _do_load
raise exc
marshmallow.exceptions.ValidationError: {'hvacStatus': ['Not a valid integer.']}


What version of Home Assistant Core has the issue?

2024.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Renault

Link to integration documentation on our website

https://www.home-assistant.io/integrations/renault

Diagnostics information

Tried to download using different browsers, but somehow the download does not start...

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @epenet, mind taking a look at this issue as it has been labeled with an integration (renault) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of renault can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign renault Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


renault documentation
renault source
(message by IssueLinks)

@ghulleman
Copy link

ghulleman commented Jun 16, 2024

I also have this issue. Other rentault-integration entities are no longer being updated. This occured after the core update 2024.6.3. Do not know if this is related. Find attached my Diagnostics.

Thank you for you great addon so far, I really appreciate your involvement and hope you can fix this.
error_log.log

Edit 17-6-2024 15:45: the 'battery level' entity suddenly updated with a value. No update of HA / addons / core / supervisor. Perhaps a glitch, just wanted to update if people having issues are read this thread. The error with the hvacstatus still occures in the log.

@ubarni
Copy link

ubarni commented Jun 17, 2024

I got the same hvac_status log error like @ghulleman posted above.

@epenet
Copy link
Contributor

epenet commented Jun 17, 2024

I invite you to check hacf-fr/renault-api#1223
Renault keeps changing the endpoints.

@epenet epenet added the waiting-for-upstream We're waiting for a change upstream label Jun 17, 2024
@B-double-U
Copy link
Author

Is there any way I can solve this in the interim ?

@epenet
Copy link
Contributor

epenet commented Jun 20, 2024

Step 1 => open a PR in renault-api (to fix the library)
Step 2 => wait for the PR to be merged and new version released
Step 3 => open a PR in HA (to bump the version of the library)
Step 4=> wait for the PR to be merged and new version released

@B-double-U
Copy link
Author

Aha.... No clue what you mean....

Sorry, happy to help, but I'm not familiar with this, just a user reporting the issue ;-)

@epenet
Copy link
Contributor

epenet commented Jun 28, 2024

Note: this will be fixed when 2024.7 is released next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: renault waiting-for-upstream We're waiting for a change upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants