Error message from Bosch Smart HOme

Hello everyone,

Hardware:
Bosch Smart Home Controller II
Raspberry Pi 4 (rpi4-64)

Software:
HomeAssistant 12.3
Core: 2024.6.2
Nabu Casa account

I get the following error message:

# Home Assistant Core
Error doing job: Task exception was never retrieved (None)

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant
Quelle: custom_components/bosch_shc/switch.py:458
Integration: Bosch SHC (Dokumentation, Probleme)
Erstmals aufgetreten: 16:38:00 (1 Vorkommnisse)
Zuletzt protokolliert: 16:38:00

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1050, in _async_update_entity_states
    await entity.async_update_ha_state(True)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 959, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1126, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1061, in __async_calculate_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1006, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1661, in state
    if (is_on := self.is_on) is None:
                 ^^^^^^^^^^
  File "/config/custom_components/bosch_shc/switch.py", line 458, in is_on
    getattr(self._device, self.entity_description.on_key)
  File "/usr/local/lib/python3.12/site-packages/boschshcpy/models_impl.py", line 452, in cameranotification
    return self._cameranotification_service.value
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'value'

I get the following error message:

Unfortunately, I can’t get any further. Is this due to the helpers?
But I only have switches and sensors there.
And what is the line 959 or line 1050 and so on?

I would be very happy to receive help.