How to group 2 outlets or 2 Virtual Contact Sensors

How can we group 2 outlets or 2 contact sensors together? I have two virtual contact sensors that control smart outlets in Alexa. They control light strips and I want to add them on the dashboard as a group to control them but currently we can only group a bulb, dimmer or switch.

Use this driver for your virtual contact sensor:

It has dual capability - Switch and Contact Sensor. You can control it as a Switch at the Hubitat end, meaning it can participate in groups etc., but will appear as a contact sensor to Alexa. Switch and contact sensor status mirror each other.

My man! Thank you!

1 Like

Groups and Scenes app can do this