Commit Graph

22 Commits

Author SHA1 Message Date
c91c4f85c3 refactor: rename module to github.com/Xevion/go-ha 2025-08-01 17:04:11 -05:00
1226867b8e refactor: make fork independent, rename PriorityQueue 2025-08-01 16:55:44 -05:00
Sam Lewis
1700dbdeb9 add Timer service 2025-05-31 14:22:59 -04:00
Sam Lewis
65672dc311 add adaptive lighting service 2025-01-20 20:30:07 -05:00
Matthias Loibl
02b6c413f1 Return Service errors
Additionally, removed the context that gets passed into the Services but isn't used in one of them. The websockets APIs also don't have any use for context.
2025-01-17 17:50:06 +01:00
Michael Haggerty
68398b02b0 Add a way to fire Home Assistant events 2024-03-09 17:31:25 +01:00
Sam Lewis
c28cba8e91 add Script service 2024-02-25 21:49:04 -05:00
Sam Lewis
47a9910fda add zwavejs service 2023-12-29 21:30:41 -05:00
Sam Lewis
1dd8eaa58d add climate service 2023-05-01 00:53:52 -04:00
Lubos Dolezel
f27cbfb299 Fix panics due to concurrent websocket writes 2023-02-24 11:49:26 +01:00
jackson
6e49b13f89 add vacuum domain/services 2023-01-31 20:31:10 -05:00
jackson
cae0c275ca add tts domain/services 2023-01-30 21:00:03 -05:00
jackson
1f1f4e97ca add domains: alarm_control_panel, cover, media_player, scene 2023-01-29 19:14:10 -05:00
Sam Lewis
c8128b5dba change to vanity url saml.dev 2022-12-12 00:15:00 -05:00
Sam Lewis
e9f07b9b32 add number service 2022-11-09 20:31:06 -05:00
Sam Lewis
ba9132745e add notify service 2022-11-06 15:00:39 -05:00
Sam Lewis
b0804e39d0 some tweaks/renames, schedule documentation 2022-11-01 01:20:15 -04:00
Sam Lewis
8b888a2d89 set up entityListener and switch websocket library 2022-10-16 15:20:04 -04:00
Sam Lewis
b99c1e5925 Added lots of services and fixed bug with ID for websocket calls 2022-10-13 02:17:36 -04:00
Sam Lewis
7f9e346d34 design and impl BaseServiceRequest 2022-10-12 01:14:32 -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
bdc5e9295d figured out how to get conn/ctx into users method calls - by passing a configured service object to their callback functions 2022-10-09 16:28:42 -04:00