You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think since the last update, my log is flooding with the below error message.
In which version of Home Assistant Core do you have the problem?
2024.5.5
What version of Proxmox VE Custom Integration has the issue?
3.4.2
What version of Proxmox VE do you have the problem?
8.1.10
Diagnostics information
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant
Quelle: custom_components/proxmoxve/sensor.py:114
Integration: Proxmox VE (Dokumentation, Probleme)
Erstmals aufgetreten: 25. Mai 2024 um 08:51:58 (3334 Vorkommnisse)
Zuletzt protokolliert: 16:24:59
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 414, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 492, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1009, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1015, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 543, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/proxmoxve/sensor.py", line 827, in native_value
native_value = value(data)
^^^^^^^^^^^
File "/config/custom_components/proxmoxve/sensor.py", line 114, in
value_fn=lambda x: (x.disk_used / x.disk_total) if x.disk_total > 0 else 0,
^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'UndefinedType' and 'int'
Additional information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the issue you are experiencing
Hi there,
thank you for this great integration!
I think since the last update, my log is flooding with the below error message.
In which version of Home Assistant Core do you have the problem?
2024.5.5
What version of Proxmox VE Custom Integration has the issue?
3.4.2
What version of Proxmox VE do you have the problem?
8.1.10
Diagnostics information
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant
Quelle: custom_components/proxmoxve/sensor.py:114
Integration: Proxmox VE (Dokumentation, Probleme)
Erstmals aufgetreten: 25. Mai 2024 um 08:51:58 (3334 Vorkommnisse)
Zuletzt protokolliert: 16:24:59
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 414, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 492, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1009, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1015, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 543, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/proxmoxve/sensor.py", line 827, in native_value
native_value = value(data)
^^^^^^^^^^^
File "/config/custom_components/proxmoxve/sensor.py", line 114, in
value_fn=lambda x: (x.disk_used / x.disk_total) if x.disk_total > 0 else 0,
^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'UndefinedType' and 'int'
Additional information
No response
The text was updated successfully, but these errors were encountered: