# Help in defining main switches for different devices and rooms

**URL:** <https://community.openhab.org/t/help-in-defining-main-switches-for-different-devices-and-rooms/78428>\
**Category:** Beginners\
**Tags:** items\
**Created:** [July 21, 2019, 6:46pm UTC](https://community.openhab.org/t/help-in-defining-main-switches-for-different-devices-and-rooms/78428 "2019-07-21T18:46:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [July 22, 2019, 2:24pm UTC](https://community.openhab.org/t/help-in-defining-main-switches-for-different-devices-and-rooms/78428/2 "2019-07-22T14:24:11Z")

</div>

Please [How to use code fences](https://community.openhab.org/t/how-to-use-code-fences/38383)

It would be helpful to understand what you’ve tried. All you do is define the Group using `Group:Switch` and the Group will be a Switch Item. You may want to give it an aggregation function, such as `Group:Switch:OR(ON,OFF)` which will make the Group’s Item be ON if one or more of the Group’s members are ON.

Sending a command to this Group will forward the command to all of it’s members. But that requires all the members to accept the same commands. You can’t mix Switches and Rollershutters because Rollershutters don’t accept ON/OFF commands.

So you will need to use a [Design Pattern: Proxy Item](https://community.openhab.org/t/design-pattern-proxy-item/15991) and Rule to change the ON command to a DOWN command for the Rollershutters.

---

_[View the full topic](https://community.openhab.org/t/help-in-defining-main-switches-for-different-devices-and-rooms/78428)._
