The problem for me is how can I use them (in an automation) to trigger an automation just if one of those 4 buttons is pushed? I have no idea how to use attributes or if I can even use them for my purpose…so sorry if it is a stupid question.
When you press the buttons on the switch, what changes? Do you see anything in the state or attributes that can help you identify which button was pressed (or released, or double-pressed, or held)?
Yes…states are always strings in HA, so those values don’t change from 2 to 1 or 0, but ‘2.0’ to ‘1.0’ or ‘0.0’. Does anything else change in the attributes?
No nothing else changed…but I could solve the 4 vs 2 issue button with the findings you brought me to. I was always conzentrating on the change of the attributes and have not seen that the status quickly changed.
THANK you very much.