Bidirectional transformation on channel profile

Hello all,

I made some research but doesn’t found anything relevant. Maybe I didn’t use the correct keyword ?
My question is : is there a way to use a transform profile on a channel and make a two way transformation ?

My use case :
A string channel in the ZoneMinder binding (function) that I would like to transform to a simpler switch.
Monitor → ON
None → OFF
All Else → OFF

I can already do this in one way, but I also would like to do the other way, i.e :
ON → Monitor
OFF → None

I can (and I already do) use some rule to achieve this, but for the sake of purity I’m wondering if there is something else I can do.

Thanks for reading,

1 Like

Not at the moment.

this evolves into a hypothetical two-way transform.

1 Like

Exactly what I’d like, I should have searched better.
So it is, for the moment, not possible.
But the information that I’m not the only one thinking about it is relevant by itself.

Now I’m curious and will look into the code (but I won’t be surprised if it’s a complicated subject)

Thank you.