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 Unit conversion now fails in 2024.6-rc #431 #432

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

FrancoLoco
Copy link
Collaborator

ce que je comprends c'est qu'il fallait setter ceci après le super.init, sinon ca se faisait écraser

    self._unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR
    self._suggested_display_precision=2

c'est que j'ai vu dans le code du init ce paramètre n'est pas passable, et il se fait initialiser à None genre et ca brise ensuite dans la conversion au niveau HA 2024.6 quand c'est None

Fix Unit conversion now fails in 2024.6-rc
Fix Unit conversion now fails in 2024.6-rc
@ic-dev21 ic-dev21 merged commit b362c94 into dvd-dev:main Jun 4, 2024
3 checks passed
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.

2 participants