Device as argument in flows broken on Homey 2.0?

My app uses some actions that require the input of another device of the same driver (to pair speakers) and this has been working fine <2.0. Since the technical preview of version 2 this action has been broken. First the Homey App doesn’t allow me to save a flow because (I think) it thinks the input is invalid. I hoped when the stable release of Homey 2.0 would be released this would be resolved, but it’s not.

Now since the latest update of the Homey app, the app crashes when I try to pick another device inside the action card.

My app.json has the following structure for (one of) the broken actions:

  {
    "id": "create_zone_with",
    "title": {
      "en": "Create zone with",
      "nl": "Maak zone met"
    },
    "fluidArgs": true,
    "args":[
      {
        "name": "device",
        "type": "device",
        "filter": "driver_id=soundtouch"
      },
      {
        "name": "slave",
        "type": "device",
        "placeholder": {
          "en": "Soundtouch device",
          "nl": "Soundtouch apparaat"
        },
        "filter": "driver_id=soundtouch"
      }
    ]
  }

Anyone else who faces the same issues?

1 Like

Did you manage to fix this? Otherwise perhaps ask on slack : https://slack.athom.com/ ?

Yes, the issue will be resolved by athom in the nest app release.

https://github.com/athombv/homey-apps-sdk-issues/issues/44

10 Feb 2019, 08:22 by athom@discoursemail.com: