1
Completed

State profile that triggers on a specific profile's ON or OFF status

I look for a solution to the following scenario: Profile B should turn OFF when profile A goes ON, and vice versa. This is different to checking whether a state profile is ACTIVE or INACTIVE. There is currently no profile event or state that can monitor the ON/OFF (ENABLED/DISABLED) state of a profile. The variable %PENABLED is not usable in the same way.

4 replies

S

No problem more than "cosmetic" :-)

S

The "problem" then is that the event triggers twice, once for the state change of A and once again for the state change of B.

Can you clarify why that is a problem? :) Does anything wrong happen because of that?

S

My guess is that you are suggesting that I use an event profile for %PENABLED and when triggered, examine the string of profiles to find the state of profile A. I guess this is doable, haven't thouhgt about doing it that way until now. If this is not what you have in mind, please let me know. Thanks!

Yes, that was what I was thinking 😅

Can you clarify why you can't use %PENABLED? Thanks!