#Button can not be automated?

1 messages · Page 1 of 1 (latest)

teal blaze
#

Hello! I can see when my buttons do something in the Logs but i cannot make a automation with. What am i doing wrong?

lavish canyon
#

You are using a device trigger. Those sometimes don't have all functionality.
In your case you need to use a state trigger with the entity's state.
In other cases there is no entity and you have to look at the events in ZHA for example.

teal blaze
#

Aaaa where can i do that?

lavish canyon
#

In your automation editor you select Entity - State.

teal blaze
#

Aaaaaaaaaah cool!

Found it 😄 thanks!

teal blaze
#

Is there any way to make it shutdown in a instant so it's not in a sequence?

lavish canyon
#

What do you mean?

teal blaze
#

Right now i have 5 lights.

When i toggle them they go 1 then 2 then 3 then 4

I want them to do it on once

lavish canyon
#

Yes. Either the building block "Run in parallel" or by using light groups.

teal blaze
#

Where can i set light groups?

lavish canyon
#

It is one of the helper entities.

teal blaze
#

Aaah found it!

But i cant seem to get double click and holding in to work

lavish canyon
#

It will never go from double press to double press.

teal blaze
#

But how do i detect double press then?

lavish canyon
#

From anything to double press.

teal blaze
#

Hmmm dosent seem to work cannot choose from anything in "Fra"

lavish canyon
#

You just choose nothing.

teal blaze
#

Yeah that dosent do anything

#

Aaah can see it dosent get registered

#

But via the app it does (Aqera)

lavish canyon
#

The attribute would have to change. If it doesn't it won't work that way.

teal blaze
#

Aaaaaaah damn

lavish canyon
#

The state trigger needs changes.

teal blaze
#

is there anything i can do ?

It's via zigbee aqara hub m2

On the app it says it's double pressing but not giving the info to home assistant

lavish canyon
#

If the state changes, you could use that to trigger and set the double press attribute as a state condition.

teal blaze
#

Okay, i have now found out how to get the state change

#

I did it via MATTER

#

But now when i double press then do it again it dosent change anything

lavish canyon
#

You need either something changing, a working device trigger or you need to figure out if and what events are available to use.

ornate violet
#

Im having the same issue here. I can get that first initial double press to activate but any double presses after does not register. Wish HA had a solution for just a simple button press no matter the state.

keen nexus
#

Could you post what your trigger looks like now?