Here is a blueprint for ZHA that can do it.
Not 100% sure, but it looks to me like ZHA exposes these press types. If not (and the logic is in the blueprint) then it could be converted to Z2M.
edit: I use Z2M and prefer it overall to ZHA.
Here is a blueprint for ZHA that can do it.
Not 100% sure, but it looks to me like ZHA exposes these press types. If not (and the logic is in the blueprint) then it could be converted to Z2M.
edit: I use Z2M and prefer it overall to ZHA.