Sure - lets see if I can explain it better - so I have a Bathroom fan which is controlled by a smart outlet. I create a group called Fan and put the outlet as the only device in that group. I do this so I can maintain a more robust device naming system I implemented long ago.
I have 4 smart bulbs teamed up on HE as 'Mirror'.
I expose the 2 groups to the Amazon Echo Skill. I can then verbally say 'Alexa turn off fan' or Alexa turn off Mirror. works perfect.
In the Alexa app I have a group called 'bathroom'. Both devices are added to this group. I say 'Alexa turn off bathroom' and both bulbs and fan go off.
Back on the HE side, I am running 'Smarter Humidity' app. It is programmed to use the outlet to enable/disable the fan based on the range of humidity.
If you tell Alexa 'turn off bathroom' then the Smarter Humidity is overridden and the fan and the lights go off. As I see it, the only solution is to take the Fan out of the Alexa group, so control of the fan is maintained at the HE. However, I loose the ability to say 'Alexa, bathroom off' during, say, throne excercises.
I was thinking maybe a virtual switch or pulling control back to HE somehow - but for now, in this case I've taken the Fan out of the Alexa group.
Following better ... except, why do you need to turn the bathroom off during the throne time? Or did you mean "Turn on bathroom"
Just let HE control the fan, which I think is where you landed.
You could add another group called THRONE that has everything and turns on lights and fan?
EDIT: I think "Alexa, prepare throne" would be great here
Also, "Alexa turn off bathroom" could trigger a virtual switch that has an HE rule behind it
turn off lights
if humidity < X:
turn off fan delay 10 min (throne clear time)
then your Smart Humidity will still handle the off ..
'Prepare throne'... somehow I think that is a neg to GAF/WAF.
We're on the same page - or close. I'm talking about when you leave the room, and verbal override the bathroom and say 'turn off'. it kills both fan and lights but I don't want fan to go off unless smart humidity says it's okay. However, Your next post about a v-switch is where I think I'm going with this. For now, until GAF goes back up (she was mad about the fan going off - previously it was just a manual switch and I added smarts which of course. was not smart...
I made up for it today by installing strip lighting under the kitchen cabinets. She'd been asking for that for months!
+1 on the v-switch. i use that for a couple things that i control with alexa. this helps me bring the logic back into HE as i can do checks before i actually trigger anything. just be sure to have the updates go both ways so you're not turning off a v-switch, nothing happens (because HE already turned it off), then turning it on/off to activate your task