hoangs commited on
Commit
2a629aa
·
verified ·
1 Parent(s): e733847

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -3
README.md CHANGED
@@ -1,3 +1,16 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # viet-robot-routine-activator
2
+
3
+ A small helper that decides which routines should run at a given weekday
4
+ and time based on simple day-of-week patterns.
5
+
6
+ Function:
7
+
8
+ ```python
9
+ decide_routines_to_run(routines: list[Routine], weekday: int, current_time: str) -> list[RoutineDecision]
10
+ ```
11
+
12
+ where `weekday` is 0=Monday ... 6=Sunday and `current_time` is `HH:MM`.
13
+
14
+ ## License
15
+
16
+ MIT