8000 restarts cause previously handled events to be retriggered · Issue #145941 · home-assistant/core · GitHub
[go: up one dir, main page]

Skip to content
restarts cause previously handled events to be retriggered #145941
@RaHehl

Description

@RaHehl

The problem

I’ve noticed that restarting some integrations in Home Assistant can cause already-processed events to be retriggered, leading to unintended automations. For example, with the UniFi Protect integration, restarting the integration can cause events that were already handled to be retriggered, as described in this bug report: #133241.

Today I also observed a similar issue: restarting a network switch caused a shortcut button press event (from a Matter-connected Dirigera Hub) that originally occurred yesterday to be fired again unexpectedly.

What version of Home Assistant Core has the issue?

core-2025.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

multiple

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: xyz
description: ""
triggers:
  - entity_id: event.tradfri_shortcut_button_button
    trigger: state
conditions:
  - condition: template
    value_template: "{{ trigger.to_state.attributes.event_type == 'multi_press_1' }}"
actions: ....

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0