Closed Chrusciki closed 1 year ago
We use the host and port only because we actually support HTTP, HTTPS, WS, and WSS to Home Assistant. On boot we detect if your configured HA install supports assist pipeline and if it does, we use WS or WSS depending on whether you have TLS enabled. If it doesn't support assist pipeline we fall back to the legacy Conversation API with TLS or not depending on if enabled.
This is why the configuration options are called "Home Assistant host" and "Home Assistant port".
another minor improvement
after fixing my wifi password issue, i am now seeing this, which is obvious what is wrong.
E (19:00:04.789) HTTP_CLIENT: Error parse url http://http://192.168.1.222:8123/api/components
We could add a parsing check to see if we have already prepended the http:// or https://