Skip to content

homeassistant.components.google_assistant.error.SmartHomeError: ArmLevel missing #162634

@Ninja-ca

Description

@Ninja-ca

The problem

Dears,

I noticed the alarm panel on my Google Assistant Hub UI is unavaiable. Checking logs it seems that some "last_code" are missing, I've identified two codes:

  • "OA": Automatic opening -> System has disarm automatically
  • "OP": Opening report -> Account was disarmed

Thank you in advance!

What version of Home Assistant Core has the issue?

core-2026.2.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Assistant

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_assistant/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Registrador: homeassistant.components.google_assistant.smart_home
Fuente: components/google_assistant/smart_home.py:181
integración: Google Assistant ([documentación](https://www.home-assistant.io/integrations/google_assistant), [problemas](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+google_assistant%22))
Ocurrió por primera vez: 12:07:23 (1 ocurrencia)
Última vez registrado: 12:07:23
Unexpected error serializing query for <state alarm_control_panel.ajax_alarma_alarma=disarmed; code_format=None, changed_by=None, code_arm_required=True, last_zone=1, **last_code=OA**, last_message=0, last_id=None, last_timestamp=2026-02-09T06:00:16+00:00, friendly_name=Ajax Alarma - Alarma, supported_features=0 @ 2026-02-09T07:00:02.142869+01:00>

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/smart_home.py", line 181, in async_devices_query_response
    devices[devid] = entity.query_serialize()
                     ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/helpers.py", line 697, in query_serialize
    deep_update(attrs, trt.query_attributes())
                       ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/trait.py", line 1685, in query_attributes
    "currentArmLevel": self._default_arm_state(),
                       ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/components/google_assistant/trait.py", line 1653, in _default_arm_state
    raise SmartHomeError(ERR_NOT_SUPPORTED, "ArmLevel missing")
homeassistant.components.google_assistant.error.SmartHomeError: ArmLevel missing

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions