mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 11:39:26 +02:00
Add debug line
This commit is contained in:
parent
b5b9efc65f
commit
39f5c75486
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class PollenParser:
|
||||||
If an error occurs, return the default value"""
|
If an error occurs, return the default value"""
|
||||||
pollen_data = self.get_default_data()
|
pollen_data = self.get_default_data()
|
||||||
try:
|
try:
|
||||||
|
_LOGGER.debug(f"Full SVG: {self._xml}")
|
||||||
root = ET.fromstring(self._xml)
|
root = ET.fromstring(self._xml)
|
||||||
except ET.ParseError:
|
except ET.ParseError:
|
||||||
_LOGGER.warning("Could not parse SVG pollen XML")
|
_LOGGER.warning("Could not parse SVG pollen XML")
|
||||||
|
|
Loading…
Add table
Reference in a new issue