-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
2022.3.0 beta - Erreurs qui font que le tarif ne change pas bien et le unknown energy meter n'est plus comptabilisé #95
Comments
Nice job @FrancoLoco Merci pour la PR. Mon home assistant est down pour le moment, j'essaie de migrer ça sur un raspberry pi avec un SSD, et mon lab est down aussi alors j'vais te truster là dessus. |
@valleedelisle pourrais tu faire un release avec ceci inclus prochainement car HA 2022.3.0 est sorti officiellement aujourd’hui et ceux qui vont updater vont se mettre à avoir le trouble..? Merci! |
C'est fait @FrancoLoco Merci encore! |
Quelque chose a changé au niveau de la beta 2022.3.0 qui fait que le tarif ne change pas bien (entre le low et le medium) et aussi mon unknown energy meter n'est plus comptabilisé.
Je vois cette erreur en boucle dans mes logs:
2022-02-26 07:36:11 ERROR (MainThread) [custom_components.hilo] Unexpected error fetching hilo data: Cannot modify ReadOnlyDict
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/hilo/init.py", line 406, in async_update
self.check_tarif()
File "/config/custom_components/hilo/init.py", line 459, in check_tarif
self.set_state("sensor.hilo_rate_current", target_cost.state)
File "/config/custom_components/hilo/init.py", line 419, in set_state
attrs["last_update"] = datetime.now()
File "/usr/src/homeassistant/homeassistant/util/read_only_dict.py", line 7, in _readonly
raise RuntimeError("Cannot modify ReadOnlyDict")
RuntimeError: Cannot modify ReadOnlyDict
The text was updated successfully, but these errors were encountered: