# Groups en Homeyscript

**URL:** <https://community.homey.app/t/groups-en-homeyscript/69452>\
**Category:** Questions & Help\
**Tags:** app, homeyscript\
**Created:** [September 26, 2022, 12:46pm UTC](https://community.homey.app/t/groups-en-homeyscript/69452 "2022-09-26T12:46:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasper\_vd](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jasper_vd/32/47913_2.png) [@Jasper\_vd](https://community.homey.app/u/Jasper_vd)\
**Post date:** [September 26, 2022, 12:46pm UTC](https://community.homey.app/t/groups-en-homeyscript/69452/1 "2022-09-26T12:46:14Z")

</div>

Hello all,

I am using some Homeyscripts that I can activate with an argument.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d58799ad665c8fdd17b50fbaa5c6294b01857f0.png)

This works perfectly and I was trying to do this also with a group of lights that I made in the app.  
I added the name of the group as the argument but unfortunately, this is not working. Does anybody know if this can be done?

Thank you!

Jasper

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 26, 2022, 9:49pm UTC](https://community.homey.app/t/groups-en-homeyscript/69452/2 "2022-09-26T21:49:06Z")

</div>

It should work fine, as long as the group device also has dim capabilities

---

<div class="post-metadata">

**Author:** ![Jasper\_vd](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jasper_vd/32/47913_2.png) [@Jasper\_vd](https://community.homey.app/u/Jasper_vd)\
**Post date:** [September 27, 2022, 5:35am UTC](https://community.homey.app/t/groups-en-homeyscript/69452/3 "2022-09-27T05:35:41Z")

</div>

Thank you! apparently the dim levels where not activated. Remade the group and now it worked 😇
