Help needet: Question about Shelly via physical switch or BWM control/switch

You can use context. Have a read of this: State.context to UI automation - #24 by mbuscher