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

Unssuported String : "calme" #77

Closed
v0ltage120 opened this issue Apr 10, 2023 · 1 comment
Closed

Unssuported String : "calme" #77

v0ltage120 opened this issue Apr 10, 2023 · 1 comment

Comments

@v0ltage120
Copy link

Hello minor change required I think

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/environment_canada/init.py", line 117, in _async_update_data
await self.ec_data.update()
File "/usr/local/lib/python3.10/site-packages/env_canada/ec_weather.py", line 423, in update
self.conditions[c].update(get_condition(meta))
File "/usr/local/lib/python3.10/site-packages/env_canada/ec_weather.py", line 403, in get_condition
condition["value"] = int(float(element.text))
ValueError: could not convert string to float: 'calme'

@michaeldavie
Copy link
Owner

michaeldavie commented Apr 10, 2023

Already fixed in #b00303a

Merged in Home Assistant 2023.4.3: home-assistant/core#91126

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