Add in switch value setting and start ping sensors