A VERY CRUDE EXAMPLE HERE
[{"id":"c2ef87a2.1a2908","type":"ui_ui_control","z":"c791cbc0.84f648","name":"","events":"connect","x":210,"y":1620,"wires":[["1a59dbc8.f9b424","6a13635f.d7e39c"]]},{"id":"1a59dbc8.f9b424","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":420,"y":1620,"wires":[]},{"id":"6a13635f.d7e39c","type":"switch","z":"c791cbc0.84f648","name":"","property":"socketip","propertyType":"msg","rules":[{"t":"eq","v":"192.168.1.10","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":270,"y":1660,"wires":[["3e3e6b9a.b5b024"]]},{"id":"3e3e6b9a.b5b024","type":"change","z":"c791cbc0.84f648","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"group\":{\"hide\":[\"Home_test1\"],\"show\":[\"Home_test2\"]}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":270,"y":1700,"wires":[["c2ef87a2.1a2908"]]},{"id":"f513a3ed.176318","type":"ui_switch","z":"c791cbc0.84f648","name":"","label":"switch","tooltip":"","group":"f811fd2e.819418","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":510,"y":1500,"wires":[[]]},{"id":"3a4cb48.0488b4c","type":"ui_switch","z":"c791cbc0.84f648","name":"","label":"switch","tooltip":"","group":"d1c84c65.50dd68","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":510,"y":1540,"wires":[[]]},{"id":"f811fd2e.819418","type":"ui_group","name":"test1","tab":"8f03e639.85956","order":2,"disp":true,"width":"6","collapse":false},{"id":"d1c84c65.50dd68","type":"ui_group","name":"test2","tab":"8f03e639.85956","order":3,"disp":true,"width":"6","collapse":false},{"id":"8f03e639.85956","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]