e13fd6ab5b
chore: update carbon pkg to v2 latest, bump version
2025-08-01 21:02:21 -05:00
8fe6bc0cff
chore: reformat, normalize imports
2025-08-01 20:44:38 -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
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
Jiri Luzny
628544c7a0
Log and propagate error instead of using Fatal
2023-12-26 23:28:41 +01:00
Jiri Luzny
ccb0f19d41
Migrated rest of the obvious logs/prints to slog.
2023-12-09 22:01:32 +01:00
Jiri Luzny
b3a38013c6
Added daily schedule test. Migrated relevant files to slog.
2023-12-09 21:08:50 +01:00
Jiri Luzny
a4fbbe5ac3
Setup pretty logging and start refactoring of the library to slog
2023-12-09 21:08:50 +01:00
Jiri Luzny
983ac712d8
Fixed typo in an assert message.
2023-12-05 19:04:01 +01:00
Jiri Luzny
596024ce25
Added check of entity state change callback.
2023-12-04 21:56:27 +01:00
Jiri Luzny
5b1ee13fa3
renamed to example package to allow correct build
2023-11-15 03:40:05 +01:00
Jiri Luzny
7aa407a515
Fix of assert condition
2023-11-12 21:50:50 +01:00
Jiri Luzny
60b851ddfa
aligned module name
2023-11-12 21:37:13 +01:00
Jiri Luzny
7c4e1ab8e3
Initial version of the sample live tests
2023-11-12 21:23:00 +01:00
Sam Lewis
1932f1edf7
make an interface for State object
2023-10-22 18:16:20 -04:00
Lubos Dolezel
754ffafeae
Don't exit the app on connection failures, expose the error in the API
2023-03-07 18:30:40 +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
c8128b5dba
change to vanity url saml.dev
2022-12-12 00:15:00 -05:00
Sam Lewis
ced79559e5
split daily schedule and interval
2022-11-13 20:17:00 -05:00
Sam Lewis
1ec5878ff9
add state as second arg for eventListenerCallback
2022-11-08 22:48:34 -05:00
Sam Lewis
2575525528
make App exported
2022-11-04 21:10:14 -04:00
Sam Lewis
33a92d96bd
documented general use cases
2022-11-02 00:04:40 -04:00
Sam Lewis
b0804e39d0
some tweaks/renames, schedule documentation
2022-11-01 01:20:15 -04:00
Sam Lewis
66e179c568
sunrise sunset working, not the cleanest solution but it works
2022-10-24 23:03:04 -04:00
Sam Lewis
f4d44cb6fe
add LICENSE and README
...
types.go -> eventTypes.go
reorganize example folder structure
2022-10-19 23:26:58 -04:00
Sam Lewis
eaeca5dd08
fix zwave js event type
2022-10-19 00:32:09 -04:00
Sam Lewis
83789184f0
event listeners working
2022-10-19 00:25:15 -04:00
Sam Lewis
ccd6805d40
cleanup todos that are done
2022-10-17 12:37:36 -04:00
Sam Lewis
b92147a6a6
remove unnecessary check from throttle check
2022-10-17 12:32:26 -04:00
Sam Lewis
2c5e68903a
added Throttle to entityListener
2022-10-16 23:41:21 -04:00