add support for group on/off switching