-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
ajutor necesarO solicitare deschisă pentru contribuții din partea comunității.O solicitare deschisă pentru contribuții din partea comunității.
Description
Ați citit secțiunea FAQ.md?
Da, am citit secțiunea FAQ.md.
Descrieți problema
Salut,
Foarte bună ideea. Tocmai am instalat add-in-ul, dar am observat că lipsesc date:
Versiunea integrării
1.2.1
Loguri relevante
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:807
integration: Sensor (documentation, issues)
First occurred: 13:45:37 (4 occurrences)
Last logged: 13:53:46
cursbnr: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 807, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1314, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 613, in async_update
await self.coordinator.async_request_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_request_refresh
await self._debounced_refresh.async_call()
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 114, in async_call
await task
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 368, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 491, in _async_refresh
self.async_update_listeners()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in async_update_listeners
update_callback()
~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 571, in _handle_coordinator_update
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 569, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/cursbnr/sensor.py", line 543, in native_value
data_extragere = robor_data[0].get("Data")
~~~~~~~~~~^^^
KeyError: 0Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:1002
integration: Sensor (documentation, issues)
First occurred: 13:45:38 (4 occurrences)
Last logged: 13:53:46
Error adding entity sensor.dobanda_robor for domain sensor with platform cursbnr
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1002, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1382, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 569, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/cursbnr/sensor.py", line 543, in native_value
data_extragere = robor_data[0].get("Data")
~~~~~~~~~~^^^
KeyError: 0Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:1002
integration: Sensor (documentation, issues)
First occurred: 13:45:38 (4 occurrences)
Last logged: 13:53:46
Error adding entity sensor.ircc_zilnic for domain sensor with platform cursbnr
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1002, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1382, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 569, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/cursbnr/sensor.py", line 597, in native_value
valoare = float(ircc_data[0].get("PMZ_RT").replace(",", "."))
~~~~~~~~~^^^
KeyError: 0Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:1002
integration: Sensor (documentation, issues)
First occurred: 13:45:38 (4 occurrences)
Last logged: 13:53:46
Error adding entity sensor.ircc_trimestrial for domain sensor with platform cursbnr
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1002, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1382, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 569, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/cursbnr/sensor.py", line 643, in native_value
valoare = float(ircc_data[0].get("PMRT_IR", "0").replace(",", "."))
~~~~~~~~~^^^
KeyError: 0Eroare apărută mai târziu:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/cursbnr/sensor.py:543
integration: Curs valutar BNR (documentation, issues)
First occurred: 13:58:47 (6 occurrences)
Last logged: 14:23:47
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 280, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 491, in _async_refresh
self.async_update_listeners()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in async_update_listeners
update_callback()
~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 571, in _handle_coordinator_update
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 569, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/cursbnr/sensor.py", line 543, in native_value
data_extragere = robor_data[0].get("Data")
~~~~~~~~~~^^^
KeyError: 0
Ați încercat să dați restart?
Da
Sistem de operare
HA OS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ajutor necesarO solicitare deschisă pentru contribuții din partea comunității.O solicitare deschisă pentru contribuții din partea comunității.