Closed abzman closed 6 years ago
This will require us to switch to https://github.com/maddox/dasher for dash button handling. Probably what we should have been using all along but I didn't find it first.
To convert dash.io options.json to dasher config.json for use in home assistant: find
\s\s{\s\s\s\s\s"name": "(.+)",[.\n\s]+"address":\s"([\d:a-f]+)",\n[\n\s"a-z:,{\]+script.([a-z\d]+)\"}"\n\s\s}replace (mind the leading whitespace)
{ "name": "\1", "address": "\2", "timeout": "60000", "protocol": "udp", "method": "POST", "url": "http://10.13.0.22:8123/api/services/script/turn_on", "json": true, "body": {"entity_id": "script.\3"} }
each button should have an individual cooldown so it doesn't post more than once per minute, but collectively the buttons should be able to post many times a minute