Commit Graph

23 Commits

Author SHA1 Message Date
Matthias Loibl
ccebcb869f Fix default golanglint-ci errors
These errors show up when simply running `golangci-lint run ./...` on the project.
2025-01-17 17:59:30 +01:00
Sam Lewis
1932f1edf7 make an interface for State object 2023-10-22 18:16:20 -04:00
Sam Lewis
824d6c12d1 refactor all automation types to take a list 2023-10-22 18:07:42 -04:00
Sam Lewis
3ec6608714 began refactor, added interface to set up for unit testing 2023-10-22 00:56:12 -04:00
Sam Lewis
3cb96800f9 allow empty string for state 2023-10-08 19:29:28 -04:00
Sam Lewis
9d7701c481 rename to DisabledWhen and EnabledWhen 2023-10-07 14:36:42 -04:00
Sam Lewis
a06f62d1ba add enable/disable function to every builder 2023-10-07 14:02:24 -04:00
Sam Lewis
c8128b5dba change to vanity url saml.dev 2022-12-12 00:15:00 -05:00
Sam Lewis
60349852e6 add OnlyOnDates to schedule, change exceptionday to exceptiondates everywhere 2022-11-26 23:36:19 -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
b0804e39d0 some tweaks/renames, schedule documentation 2022-11-01 01:20:15 -04:00
Sam Lewis
d158524783 add Exceptions to eventListener 2022-10-31 02:01:24 -04:00
Sam Lewis
d077c3feec DRY duration parsing 2022-10-31 01:36:40 -04:00
Sam Lewis
b22b544437 add Duration for entityListener and rename TimeString to DurationString 2022-10-30 23:07:54 -04:00
Sam Lewis
47ba299568 make eventListener private on builders 2022-10-27 01:59:41 -04:00
Sam Lewis
5e2d6cb092 export strucs 2022-10-26 23:05:14 -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
e2fb6872ae make some things private 2022-10-23 18:53:38 -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
83789184f0 event listeners working 2022-10-19 00:25:15 -04:00
Sam Lewis
8be48be299 add TODOs 2022-10-10 00:14:20 -04:00