# Disable measure\_ trigger flow

**URL:** <https://community.homey.app/t/disable-measure-trigger-flow/50746>\
**Category:** Developers\
**Tags:** app\
**Created:** [August 23, 2021, 4:43pm UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746 "2021-08-23T16:43:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruben92](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruben92/32/33859_2.png) [@Ruben92](https://community.homey.app/u/Ruben92)\
**Post date:** [August 23, 2021, 4:43pm UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746/1 "2021-08-23T16:43:10Z")

</div>

Hi Guys,

I’m working on a pull request for a homey app and i’ve added a custom capability with a number starting “measure\_” so that besides the default functionality it can also be displayed as a status device-indicator if the user chooses to.

But unfortunately this also add’s two trigger flowcards to my app, is there a way to disable this?

I need this because the value of this will only be updated periodically and it would not be a correct trigger to start flows from. I already have other options for that in place inside the app. The capability is purely for displaying as a status device-indicator or for insights statistics. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 23, 2021, 5:18pm UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746/2 "2021-08-23T17:18:00Z")

</div>

I knowfor a fact that prepending a capability with .total or something will prevent default capability cards, but it will also prevent the capability from being picked, so that defeats the purpose. Same goes for naming capabilities outside the default measure… naming convention.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 23, 2021, 5:19pm UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746/3 "2021-08-23T17:19:56Z")

</div>

I’m not sure but I believe I had to “activate” the trigger in device.flow.compose.json with defining the trigger (API v3)  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/5/f512421fb482742791291e3f918cec8928481217.png)

Without this, the trigger was not shown.

See documentation:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/ab3430a5293dbb829273cd81e3d1f4a46e42f919.png)

> **[Flow](https://apps.developer.homey.app/the-basics/flow)**
>
> Flow cards allow users to create advanced home automations using your the devices from your app.

Another suggestion is to set the trigger “deprecated” to avoid selecting it in flows.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/023b1e2d9f01c8b8b09da4bf2d439fa729edb504.png)

---

<div class="post-metadata">

**Author:** ![kjeet90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjeet90/32/45190_2.png) [@kjeet90](https://community.homey.app/u/kjeet90)\
**Post date:** [September 26, 2021, 9:11am UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746/4 "2021-09-26T09:11:05Z")

</div>

I am having the same issue as the thread creator. I’ve prefixed a custom capability with meter\_ to get the info on the device tile, but I do not want the auto-generated flow. I tried marking them as deprecated in the flow compose, but the flow card still shows up when I’ve added a new device. Anyone figured out how to remove these flow cards?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [September 26, 2021, 10:29am UTC](https://community.homey.app/t/disable-measure-trigger-flow/50746/5 "2021-09-26T10:29:34Z")

</div>

Hi, I had the same experience.  
The generated flows for “getting greater than” or “lower then” are shown without defining the trigger flow in homey compose.

The “default” trigger (xxx has changed) is only shown after the trigger is defined in homeycompose.  
I think this is a bug in homeycompose. The greater/lower-than flow shloud only appear next to the has-changed-flow if the trigger is defined in homeycompose, I think.

You could send this as bug report to [support@athom.com](mailto:support@athom.com) oder ask in Slack developer channel.
