Dashio addon - repeats command

Is anyone else experiencing their Dash buttons repeating commands twice?

This is new to me as they have been working flawlessly for over a year. The only thing that I can think of is that I just segmented my (Unifi) network into VLANS but I do not have enough network knowledge to know if this could cause a problem.

But in any case shouldn’t the timeout stop this happening?

Here is my dashio config, thanks for any pointers…

{
  "timeout": 20,
  "buttons": [
    {
      "name": "MyDash",
      "address": "6C:99:99:99:99:25",
      "domain": "switch",
      "service": "toggle",
      "service_data": "{\"entity_id\": \"switch.sonoff05\"}"
    }
  ]
}

Here is the dashio log

2019-07-20 10:41:46,534 | INFO | MyDash button pressed!
2019-07-20 10:41:46,541 | INFO | Request: http://hassio/homeassistant/api/services/switch/toggle - body: {"entity_id": "switch.sonoff05"}
2019-07-20 10:41:46,541 | INFO | Status Code: 200
2019-07-20 10:41:46,541 | INFO | Successful request
2019-07-20 10:41:46,548 | INFO | Finishing sniffing
2019-07-20 10:41:46,549 | INFO | Starting sniffing...
2019-07-20 10:41:46,850 | INFO | MyDash button pressed!
2019-07-20 10:41:46,856 | INFO | Request: http://hassio/homeassistant/api/services/switch/toggle - body: {"entity_id": "switch.sonoff05"}
2019-07-20 10:41:46,856 | INFO | Status Code: 200
2019-07-20 10:41:46,857 | INFO | Successful request
2019-07-20 10:41:46,864 | INFO | Finishing sniffing
2019-07-20 10:41:46,864 | INFO | Starting sniffing...

This has always happened for me as well.

I just use this simple workaround:

Originally, my dash buttons would trigger an HA script that toggled a light or switch. When double triggered, the light would turn on then off.

I added a “delay 5s” to the script after toggling the light/switch. Now, when dashio tries to run the script a second time, HA sees it is already running and ignores. This has worked well so far.

Yes that is exactly the workaround I came up with. Not ideal but glad to hear it should work!

Thanks.