Logger: homeassistant.components.sensor
Source: helpers/update_coordinator.py:258
Integration: Capteur (documentation, issues)
First occurred: 18:37:04 (1 occurrences)
Last logged: 18:37:04
Error while setting up vigieau platform for sensor
Traceback (most recent call last):
File "/config/custom_components/vigieau/__init__.py", line 147, in update_method
lat = self.config[CONF_LATITUDE]
~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'latitude'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 242, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/vigieau/__init__.py", line 183, in update_method
raise UpdateFailed(f"Error communicating with API: {err}")
homeassistant.helpers.update_coordinator.UpdateFailed: Error communicating with API: 'latitude'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 353, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/vigieau/sensor.py", line 31, in async_setup_entry
await vigieau_coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in async_config_entry_first_refresh
raise ex
homeassistant.exceptions.ConfigEntryNotReady: Error communicating with API: 'latitude'
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Version 0.3.9 installé initialement.
Je "suspecte" la non initialisation de la var latitude lors de la migration, mais pour le moment pas réussi à reproduire.
init.py: manquerai (??):
L59/L60
new[CONF_LATITUDE] = lat
new[CONF_LONGITUDE] = lon
Describe the bug
Screenshots If applicable, add screenshots to help explain your problem.
Integration version: 0.4.2 Home-Assistant version: N/A
Additional context Version 0.3.9 installé initialement.
Je "suspecte" la non initialisation de la var latitude lors de la migration, mais pour le moment pas réussi à reproduire. init.py: manquerai (??): L59/L60