If you run Home Assistant behind a webserver, the URLs provided by hass.components.webhook are not working outside local network, so I create the file settings.js with webhook IDs instead of URLs. The main map.html file will then make XMLHttpRequest using those IDs and the browser base url.
If you run Home Assistant behind a webserver, the URLs provided by
hass.components.webhook
are not working outside local network, so I create the filesettings.js
with webhook IDs instead of URLs. The mainmap.html
file will then make XMLHttpRequest using those IDs and the browser base url.