Skip to content

v0.1.1

Choose a tag to compare

@poolski poolski released this 14 Sep 11:43
· 13 commits to main since this release
ba26080

What's Changed

⚠️ Fix bug with websocket URL

The code wasn't:

  1. Reading the base URL from the config file
  2. Detecting whether we're using HTTP/HTTPS
  3. Converting it into a usable ws:// URL for the dialer.

💪🏻 Improve user config input

Rather than using fmt.Scanln we can use a lightweight prompt library to hide things like the API key.

I also noticed that the code doesn't validate the URL that the user inputs so if they write some gibberish, it might not even work as a URL.

🔧 Added an insecure flag (-i | --insecure) to the app so that it can be run against Home Assistant instances which use a self-signed certificate