Sonoff TH16 wiring

Hi

Can anybody tell if connecting the Sonoff TH16 as in this diagram is ok? Or I must to connect the ground also thru the switch?

Yes that will be ok but the sonoff won’t be grounded. The Sonoff basics don’t even give you the option to ground. With that said, I’ve run the ground through my two TH16s.