I’m just getting started with NR (and still fairly new to HA). I have an NR flow setup which does the following,
Turns on the Sonos wall plug, if not already on
Waits for the Sonos to start
Sets the volume
Plays a given radio station
In order to trigger this from HA, I’ve defined switches in NR, listen for a state change to start the above routine and finally turn off the switch. While this works, however creating additional switches seems a little messy. Is there a cleaner way to achieve this?
Thanks for the tip.
MQTT makes it much simpler.
You can f.eks make a topic
ha/custom/button
The you can reuse the topic for many types of button by setting data to
button#1
button#2
button_bed_room