Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 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
|