Hello,
Im curious on how most people program keypad button experiences that are shared across multiple buttons and tie LED color changes to all of the buttons even though only one is pressed.
I have some keypad buttons I use to program a leave / return home type scene with thermostat settings, day/ night variables , dogs@home vs not (experience buttons) security armed or not reminder, rooms off etc.
Till recently I’ve been creating the scene in programming under each and every button via copy and paste but was thinking, as it gets more complicated, should I create a macro (rerun home scene day, return home night etc) and call those functions in the multiple keypads around the entrance to use that macro? I noticed that I had forgotten to make the changes to one of the buttons on one of the keypads and realized if I had created a macro and called the macro vs copy pasting to@each button, I wouldn’t have missed the copy paste on one of the keypads. Trying figure out how most of you do this sort of thing. Also, do you typically trigger a variable for scenes like this that will update the LED color on each button if one is pressed and the scene is active? Im trying to have it do RED for Leave, Yellow for dogs @home leave and perhaps green for Home but I want all of the keypad buttons attached to this macro to change when the scene is active. How would I push the LED color to all attached buttons? Thanks in advance!