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

From HA : renault_api.kamereon.exceptions.KamereonException: Unable to convert 3 to PlugState. #1303

Closed
tmenguy opened this issue Aug 27, 2024 · 1 comment

Comments

@tmenguy
Copy link
Contributor

tmenguy commented Aug 27, 2024

Hi,

From latest HA integration (so on this lib 2.5.0) I got this as a crash in my HA logs... seems there is a new plug state in town:
File "/usr/src/homeassistant/homeassistant/components/renault/sensor.py", line 109, in _get_plug_state_formatted
plug_status = data.get_plug_status() if data else None
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/renault_api/kamereon/models.py", line 384, in get_plug_status
raise exceptions.KamereonException(
renault_api.kamereon.exceptions.KamereonException: Unable to convert 3 to PlugState.

Opened it also on the HA part : home-assistant/core#124682

BR
Thomas

@epenet
Copy link
Collaborator

epenet commented Aug 27, 2024

Duplicate of #1262

@epenet epenet marked this as a duplicate of #1262 Aug 27, 2024
@epenet epenet closed this as completed Aug 27, 2024
@hacf-fr hacf-fr deleted a comment Aug 27, 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

No branches or pull requests

2 participants