Describe the bug
After last update HA Gismeteo component not working
Configuration.yaml
weather:
- platform: gismeteo
name: Home (Gismeteo)
mode: daily
latitude: 59.94
longitude: 30.32
sensor:
- platform: gismeteo
monitored_conditions:
- condition
- temperature
- temperature_feels_like
- humidity
- pressure
- wind_speed
- wind_bearing
- clouds
- rain
- snow
- storm
- geomagnetic
Add your configs here if any.
Steps to Reproduce
Expected behavior
Debug log
Logger: homeassistant.config_entries
Source: custom_components/gismeteo/api.py:207
Integration: Gismeteo ([documentation](https://github.com/Limych/ha-gismeteo), [issues](https://github.com/Limych/ha-gismeteo/issues))
First occurred: 17:00:18 (1 occurrences)
Last logged: 17:00:18
Error setting up entry configuration.yaml for gismeteo
Traceback (most recent call last):
File "/config/custom_components/gismeteo/api.py", line 198, in async_get_location
xml = etree.fromstring(response)
File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 1347, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: mismatched tag: line 6, column 2
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/gismeteo/__init__.py", line 98, in async_setup_entry
coordinator = await _async_get_coordinator(hass, uid, cfg)
File "/config/custom_components/gismeteo/__init__.py", line 77, in _async_get_coordinator
await gismeteo.async_get_location()
File "/config/custom_components/gismeteo/api.py", line 207, in async_get_location
raise ApiError(
custom_components.gismeteo.api.ApiError: Can't retrieve location data! Invalid server response.
Environment
Describe the bug After last update HA Gismeteo component not working
Configuration.yaml
Steps to Reproduce
Expected behavior
Debug log
Additional context