Commit Graph

8 Commits

Author SHA1 Message Date
Jakub Zimny
84f9726b09 Add functionality to list entities from REST endpoint 2025-01-20 23:32:12 +01:00
Sam Lewis
56ccdfbdb2 two url fixes:
- default scheme for legacy connection params
- set paths for http and websocket APIs
2025-01-19 20:58:16 -05:00
Matthias Loibl
b5d35235f8 Parse URL and pass it to clients
Right now, this SDK only works with IP:Port.
I'm however running on https://home.example.com and need https or wss and an implicit port 443.

Using net/url should be the best option.
2025-01-17 01:46:35 +01:00
Dominik Siebel
8b436ce4ee feat: support secure connections 2024-02-22 11:28:05 +01:00
Sam Lewis
e58a75388e fix bug when registering multiple listeners and change sunrise/sunset to non-ha impl 2023-01-12 22:33:38 -05:00
Sam Lewis
8a59770936 enforce ToState when using Duration 2022-10-31 01:17:20 -04:00
Sam Lewis
7bcca889f9 good progress yay:
- impl http client
- create http client in App()
- generic builder for Service.*
- set Service on app to pass to callbacks later
- impl State
- set State on app to pass to callbacks later
- change panic to log.Fatalln
2022-10-11 01:22:23 -04:00
Sam Lewis
689a6ce4d3 add TODOs 2022-10-10 00:21:14 -04:00