292879a8a9
docs: normalize & make basic corrections to documentation
2025-08-01 21:27:21 -05:00
8fe6bc0cff
chore: reformat, normalize imports
2025-08-01 20:44:38 -05:00
21358b73e1
refactor: move types out of app.go into types/, renamed module files
2025-08-01 18:08:01 -05:00
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
75f0b6b848
add include and exclude options for generation
2025-06-01 20:21:06 -04:00
Sam Lewis
25076130d8
home zone changed to optional
2025-06-01 17:50:03 -04:00
Sam Lewis
79811571ca
codegen works
2025-06-01 17:27:36 -04:00
Sam Lewis
2c5e68903a
added Throttle to entityListener
2022-10-16 23:41:21 -04:00
Sam Lewis
7ed5cbcf94
time constraints on listener are working
2022-10-16 23:03:19 -04:00
Sam Lewis
145c12dd25
all builders now take duration strings
2022-10-16 22:45:13 -04:00
Sam Lewis
6ca78e88dd
listeners working, sunrise/sunset working with string offset
2022-10-16 22:23:46 -04:00
Sam Lewis
8b888a2d89
set up entityListener and switch websocket library
2022-10-16 15:20:04 -04:00
Sam Lewis
2d77c4b657
schedule works! 🎉 🔥
2022-10-15 22:22:59 -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
b3e45f46a4
just have TimeOfDay and Duration ¯\_(ツ)_/¯
2022-10-11 09:52:58 -04:00
Sam Lewis
7c1e8faa43
change helper from TimeOfDay to Duration
2022-10-11 02:24:48 -04:00
Sam Lewis
911c3521ba
switched to time.Duration
2022-10-11 02:17:02 -04:00
Sam Lewis
44678ae762
commit before try switching to duration
2022-10-11 01:44:53 -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
2597711973
websocket initialization done in App
2022-10-09 23:35:01 -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