Skip to content

Alarmo not starting / no entity anymore #1375

@jpawlowski

Description

@jpawlowski

Checklist

  • I am using the latest version of Alarmo (latest version can be found here)
  • I checked for similar existing requests (both open and closed) before posting.

Alarmo Version

v1.10.15

HA Version

2026.2.3

Bug description

Alarmo no longer starts and no entity is being created.

Steps to reproduce

There were no changes besides HA updates for the last 2 months.
I guess what needs to be done to reproduce this is to update HA to its newest version.

Relevant log output

Logger: homeassistant.components.alarm_control_panel
Quelle: helpers/entity_platform.py:680
Integration: Alarmzentrale (Dokumentation, Probleme)
Erstmals aufgetreten: 21:48:43 (1 Vorkommnis)
Zuletzt protokolliert: 21:48:43

Error adding entity alarm_control_panel.alarmo for domain alarm_control_panel with platform alarmo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 680, in _async_add_entities
    await self._async_add_entity(
        entity, False, entity_registry, config_subentry_id
    )
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 998, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1393, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/alarmo/alarm_control_panel.py", line 779, in async_added_to_hass
    self.async_arm(self.arm_mode)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/alarmo/alarm_control_panel.py", line 932, in async_arm
    ].validate_arming_event(
      ~~~~~~~~~~~~~~~~~~~~~^
        area_id=self.area_id,
        ^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        bypass_open_sensors=self._bypass_open_sensors,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/config/custom_components/alarmo/sensors.py", line 300, in validate_arming_event
    sensors_list = self.active_sensors_for_alarm_state(area_id, target_state)
  File "/config/custom_components/alarmo/sensors.py", line 272, in active_sensors_for_alarm_state
    for entity, config in self._config.items():
                          ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'items'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions