// Package homeassistant sends notifications through the Home Assistant REST API. // // Upstream documentation: https://developers.home-assistant.io/docs/api/rest/ // // # URL Format // // homeassistant://TOKEN@host[:port][/basepath][?query] // // The long-lived access token is the URL username. The host identifies the // Home Assistant instance. An optional path is a reverse-proxy prefix. // // # Query Parameters // // - title: optional notification title. Omitted from the API request when empty. // - service: Home Assistant action. Empty defaults to persistent_notification.create. // A value without a dot is sent as notify/. A value with a dot is // sent as /. // - targets: comma-separated notify destinations, sent as JSON field target. // Omitted for persistent notifications. // - nid: persistent notification ID. Omitted when empty. Replaces an existing // notification when reused. // - disabletls: use HTTP instead of HTTPS. Default No. // - skiptlsverify: skip TLS certificate verification. Default No. // // When the port is omitted, HTTPS uses 443 and HTTP (disabletls=yes) uses 8123. // // # Example // // homeassistant://@homeassistant.local:8123/?disabletls=yes&title=Update package homeassistant