One widget, nine buttons (two scenes, lights on/off, two plugs on/off, status). Each press posts a one-line command to the house bot's private HTTP door and prints the bot's reply -- the devices' read-back -- verbatim. Two allow-lists (lib/Buttons.php here, the bot's own) must both pass. No build step: plain PHP + one JS file, the speedtest pattern; the widget registration is integration_gotosocial's, without Vue. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2 lines
223 B
XML
2 lines
223 B
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#fff" d="M12 3 3 10.5h2.25V20h5.25v-5.5h3V20h5.25v-9.5H21L12 3zm0 2.6 6.75 5.63V18h-2.25v-5.5h-9V18H5.25v-6.77L12 5.6z"/></svg>
|