Open hiattp opened 2 weeks ago
Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
matter documentation matter source (message by IssueLinks)
The problem
I'm new to Matter but very eager to get some ESP32-H2 prototypes up and running. As a very basic test I've installed the latest Matter server on HA and flashed an ESP32-H2 with the generic switch example:
This commissions successfully and according to the ESP32 monitor is triggering the correct events. However, when I observe
state_changed
events in HA on any given button press I only seeinitial_press
events like this (5 largely identical events per one button press in quick succession):In addition to these events (which don't seem to be usable in terms of determining the actual button action/state since they appear as 5 redundant
initial_press
) I also see event validation errors in Core pertaining to the event types:After a quick (and naive) code search I do see these as supported event types (see https://github.com/home-assistant/core/blob/dev/homeassistant/components/matter/event.py#L27) so it isn't clear why these are triggering errors and why I'm seeing all the redundant event notifications.
FWIW the ESP32 monitor logs for a single button press on the generic switch example is here, you can see it attempting those "short release" and "multipress complete" events:
What version of Home Assistant Core has the issue?
core-2024.5.3
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
Matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter/
Diagnostics information
config_entry-matter-7357b64f7330f7c829b9684c529d9a81.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response