Good evening Pierre-Gilles
When you turn on L2, Z2M turns off L1!
When you turn on L1, Z2M turns off L2!
What you’re showing me is when the « interlock » switch is On, this switch locks L1 and L2, in other words you cannot have L1 and L2 on at the same time, one turns off the other if it is on. So for me it’s fine.
And when Interlock is Off, L1 and L2 are independent
I think this issue is fixed with the PR merged after v3.8.4, i.e. the « beta » version that I have been proposing for validation for some time.
By default, the switch is managed on a single property « state », which causes problems when there are multiple switches on a device. In my fix, the mapping between the feature and the z2m property is preserved.