Commit Graph

  • cae0c275ca add tts domain/services jackson 2023-01-30 21:00:03 -05:00
  • abf47b223f Use correct service jackson 2023-01-30 20:59:41 -05:00
  • 1f1f4e97ca add domains: alarm_control_panel, cover, media_player, scene jackson 2023-01-29 19:14:10 -05:00
  • bbfdf31e51 update docs Sam Lewis 2023-01-28 10:42:11 -05:00
  • 9c6ed56f5c Update README.md saml-dev 2023-01-28 10:28:56 -05:00
  • 447400868d switch back to pointers, but this time add etl := etl when iterating over list to set correct pointer Sam Lewis 2023-01-13 21:57:08 -05:00
  • 18bab6f784 go mod tidy Sam Lewis 2023-01-12 22:34:02 -05:00
  • e58a75388e fix bug when registering multiple listeners and change sunrise/sunset to non-ha impl Sam Lewis 2023-01-12 22:33:38 -05:00
  • a868c08d40 resolve lint for double import Sam Lewis 2022-12-28 17:56:09 -05:00
  • ac97d82cfe fix sun offset Sam Lewis 2022-12-28 17:53:59 -05:00
  • aa1bc3f4a4 update docs Sam Lewis 2022-12-12 08:38:45 -05:00
  • c8128b5dba change to vanity url saml.dev Sam Lewis 2022-12-12 00:15:00 -05:00
  • 40c5fe76ba fix bug with entityListeners using .Duration Sam Lewis 2022-12-09 19:40:51 -05:00
  • ffb9c9f08b continue instead of return Sam Lewis 2022-11-27 23:46:02 -05:00
  • 60349852e6 add OnlyOnDates to schedule, change exceptionday to exceptiondates everywhere Sam Lewis 2022-11-26 23:36:19 -05:00
  • 555bafa2e5 update docs Sam Lewis 2022-11-13 20:37:25 -05:00
  • ced79559e5 split daily schedule and interval Sam Lewis 2022-11-13 20:17:00 -05:00
  • 83998b5e7e only trigger ETL if newState != oldState Sam Lewis 2022-11-10 20:32:32 -05:00
  • f6c68fe8ca add comment Sam Lewis 2022-11-10 20:27:34 -05:00
  • 0f970c2732 fix runonstartup bug Sam Lewis 2022-11-09 21:03:57 -05:00
  • e9f07b9b32 add number service Sam Lewis 2022-11-09 20:31:06 -05:00
  • e5fe752d2c update docs Sam Lewis 2022-11-09 20:17:52 -05:00
  • 7fda113913 add etl.RunOnStartup Sam Lewis 2022-11-09 20:16:35 -05:00
  • f7e212e1d1 fix sunset/sunrise schedule bug Sam Lewis 2022-11-09 17:41:13 -05:00
  • 4f1666f2af docs update Sam Lewis 2022-11-08 23:38:21 -05:00
  • 1ec5878ff9 add state as second arg for eventListenerCallback Sam Lewis 2022-11-08 22:48:34 -05:00
  • 5afa301f36 add before/after sunset/sunrise to state Sam Lewis 2022-11-06 16:10:05 -05:00
  • ba9132745e add notify service Sam Lewis 2022-11-06 15:00:39 -05:00
  • e3e7889574 adjust next schedule message Sam Lewis 2022-11-04 23:03:16 -04:00
  • 648eb62cfa fix bug when registering multiple schedules and >=1 are sunset/sunrise Sam Lewis 2022-11-04 22:47:42 -04:00
  • 2575525528 make App exported Sam Lewis 2022-11-04 21:10:14 -04:00
  • 055aa04aee decided State and Service are documented enough Sam Lewis 2022-11-02 00:15:22 -04:00
  • 33a92d96bd documented general use cases Sam Lewis 2022-11-02 00:04:40 -04:00
  • b0804e39d0 some tweaks/renames, schedule documentation Sam Lewis 2022-11-01 01:20:15 -04:00
  • cbfce76897 some tweaks/renames, schedule documentation Sam Lewis 2022-11-01 01:20:05 -04:00
  • b2a4e26946 add Exceptions to schedules Sam Lewis 2022-10-31 02:29:48 -04:00
  • b1928496cc add exceptions to entityListener Sam Lewis 2022-10-31 02:14:13 -04:00
  • d158524783 add Exceptions to eventListener Sam Lewis 2022-10-31 02:01:24 -04:00
  • d077c3feec DRY duration parsing Sam Lewis 2022-10-31 01:36:40 -04:00
  • ce6649dd29 fix refactor error Sam Lewis 2022-10-31 01:20:52 -04:00
  • 8a59770936 enforce ToState when using Duration Sam Lewis 2022-10-31 01:17:20 -04:00
  • b22b544437 add Duration for entityListener and rename TimeString to DurationString Sam Lewis 2022-10-30 23:07:54 -04:00
  • 47ba299568 make eventListener private on builders Sam Lewis 2022-10-27 01:59:41 -04:00
  • 5dda691455 2 things: make entityListener private on builders fix: subsequent listeners not called if one fails checks Sam Lewis 2022-10-27 01:57:49 -04:00
  • 5e2d6cb092 export strucs Sam Lewis 2022-10-26 23:05:14 -04:00
  • 66e179c568 sunrise sunset working, not the cleanest solution but it works Sam Lewis 2022-10-24 23:03:04 -04:00
  • a2d3b46335 add .gitignore Sam Lewis 2022-10-24 09:55:41 -04:00
  • e2fb6872ae make some things private Sam Lewis 2022-10-23 18:53:38 -04:00
  • f4d44cb6fe add LICENSE and README types.go -> eventTypes.go reorganize example folder structure Sam Lewis 2022-10-19 23:26:58 -04:00
  • eaeca5dd08 fix zwave js event type Sam Lewis 2022-10-19 00:32:09 -04:00
  • 83789184f0 event listeners working Sam Lewis 2022-10-19 00:25:15 -04:00
  • ccd6805d40 cleanup todos that are done Sam Lewis 2022-10-17 12:37:36 -04:00
  • b92147a6a6 remove unnecessary check from throttle check Sam Lewis 2022-10-17 12:32:26 -04:00
  • 2c5e68903a added Throttle to entityListener Sam Lewis 2022-10-16 23:41:21 -04:00
  • 7ed5cbcf94 time constraints on listener are working Sam Lewis 2022-10-16 23:03:19 -04:00
  • 145c12dd25 all builders now take duration strings Sam Lewis 2022-10-16 22:45:13 -04:00
  • 6ca78e88dd listeners working, sunrise/sunset working with string offset Sam Lewis 2022-10-16 22:23:46 -04:00
  • 8b888a2d89 set up entityListener and switch websocket library Sam Lewis 2022-10-16 15:20:04 -04:00
  • 2d77c4b657 schedule works! 🎉🔥 Sam Lewis 2022-10-15 22:22:59 -04:00
  • e476a06aca remove log statements Sam Lewis 2022-10-13 02:20:28 -04:00
  • b99c1e5925 Added lots of services and fixed bug with ID for websocket calls Sam Lewis 2022-10-13 02:17:36 -04:00
  • 7f9e346d34 design and impl BaseServiceRequest Sam Lewis 2022-10-12 01:14:32 -04:00
  • 4cf16d0d41 moved websocket code to websocket package Sam Lewis 2022-10-11 22:58:44 -04:00
  • b3e45f46a4 just have TimeOfDay and Duration ¯\_(ツ)_/¯ Sam Lewis 2022-10-11 09:52:58 -04:00
  • 7c1e8faa43 change helper from TimeOfDay to Duration Sam Lewis 2022-10-11 02:24:48 -04:00
  • 911c3521ba switched to time.Duration Sam Lewis 2022-10-11 02:17:02 -04:00
  • 44678ae762 commit before try switching to duration Sam Lewis 2022-10-11 01:44:53 -04:00
  • 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 Sam Lewis 2022-10-11 01:22:23 -04:00
  • 689a6ce4d3 add TODOs Sam Lewis 2022-10-10 00:21:14 -04:00
  • 8be48be299 add TODOs Sam Lewis 2022-10-10 00:14:20 -04:00
  • 25a843fc7b few things: - easy comparison of hourMinute with .int() - created Sunset/Sunrise vars of type hourMinute for easy end-user use Sam Lewis 2022-10-10 00:11:41 -04:00
  • 2597711973 websocket initialization done in App Sam Lewis 2022-10-09 23:35:01 -04:00
  • 60b80ec07f remove person.go builder example Sam Lewis 2022-10-09 19:22:09 -04:00
  • bdc5e9295d figured out how to get conn/ctx into users method calls - by passing a configured service object to their callback functions Sam Lewis 2022-10-09 16:28:42 -04:00
  • 889d7ab993 checkin before rename Sam Lewis 2022-10-07 20:59:04 -04:00