model: support for switch events for multiple swithes