Does anyone have a guide or an example of a button in Lovelace that toggles a ‘sensor’ between states so that the current value can be read in Node-RED?
For instance, I see many folks using switches in Lovelace whilst testing their Home / Away automations. The switch, presumably, allowing the operator to emulate different states.
I would be very appreciative of a pointer to an example.