Consider the following scenario: I have a significant number of sensors such as
- Water Sensor 01
- Water Sensor 02, etc.
I also have matching virtual switches named
- Water Sensor 01 Activated
- Water Sensor 02 Activated, etc.
I'd like to construct a rule that says if any of the Water Sensors are activated, then turn on the corresponding virtual switch. In other words,
Select trigger event: Any of Water Sensor 01, Water Sensor 02 ... any wet
Select actions to run: On %device% Activated
OK, I know you can't do that. So what would be the simplest way to implement same? I could do it with x number of rules that are simple but numerous. Or in a single rule with x number of If/Then or a ridiculously nested If/Then/Else. A Case statement would be clean, but not available. But is there a clever way that looks a lot cleaner?
Creating a custom water sensor device driver that adds contact capabilities would work, I guess.
Background: While I ask the question in the abstract, I will offer the use case details. The goal is to have Alexa announce the specific location of the leak. One can't send a parameter as far as I know. I'm creating a virtual contact/switch for each specific thing I want Alexa to say. Note: I'm well aware of Echo Speaks which simplifies the hell out of this, but I'm trying to rule out user apps for the moment, and would prefer not to set up a second hub either.