# Aqara (First-gen) Curtain Motor to stop on button press

**URL:** https://community.homey.app/t/aqara-first-gen-curtain-motor-to-stop-on-button-press/39700
**Category:** Questions & Help
**Tags:** zigbee
**Created:** [December 23, 2020, 7:39pm UTC](https://community.homey.app/t/aqara-first-gen-curtain-motor-to-stop-on-button-press/39700 "2020-12-23T19:39:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ashley\_Wolf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ashley_wolf/32/16534_2.png) [@Ashley\_Wolf](https://community.homey.app/u/Ashley_Wolf)
#### Post date: [December 23, 2020, 7:39pm UTC](https://community.homey.app/t/aqara-first-gen-curtain-motor-to-stop-on-button-press/39700/1 "2020-12-23T19:39:20Z")

</div>

Hey guys, this might seem like a rookie question to some but could I get some assistance?

The curtain motors are working fine but I’ve been trying to stop it mid way via Homey Flow. I know I can access the device directly and set the dim level however I’m trying to get it to stop upon a switch button press whilst it is moving to the Open or Closed position.

Is there a way to do this?

Thank you so much guys 🙂

---

<div class="post-metadata">

### Author: ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)
#### Post date: [December 23, 2020, 8:38pm UTC](https://community.homey.app/t/aqara-first-gen-curtain-motor-to-stop-on-button-press/39700/2 "2020-12-23T20:38:25Z")

</div>

Using the “Set state” action card with the idle option, should do the trick.
