Bulk add device capabilities

Id like to bulk add widgets by capability eg add all batteries, all temperatures all switches etc to a dashboard