The idea of “Event Entities” was added in 2024.8 and so far the arguably one of the most used integrations (ZHA) hasn’t been updated to be able to use them.
use case:
I just added a Aqara button and wanted to use the “hold” and “release” events in an automation to start a repeating action on the “hold” event and continue until the “release” event. But there is no way that l know of to use the available “repeat” actions “until” (or “while”) an event occurs since there are no event conditions.
I worked around it by turning on and off a boolean but it’s a wonky work-around for something that was introduced six months ago as a potential fix.
An event entity for ZHA button devices would solve that situation and would be a nice addition.
Oh, I didn’t realize that zwavejs event entities had already been added. I’ll update the topic and comments. I guess I should have looked to verify that but I assumed it hadn’t since ZHA didn’t and I didn’t remember seeing anything in the release notes about it since then. Thanks for the info.
And I agree they are generally easy enough and I’ve been using events for years…until I ran into a need to have an event as a condition.