fix(cli): filter outage schedule by selected bill
All checks were successful
Test blackout notifier / test (push) Successful in 4s
Hourly blackout check / check (push) Successful in 4s

This commit is contained in:
2026-07-27 17:25:38 +03:30
parent b44d6dd3cb
commit 0b24d544d3
3 changed files with 21 additions and 14 deletions

View File

@@ -215,7 +215,7 @@ minute interval with `-i`/`--interval`:
./main.sh --interval 5
```
Select one bill for the large countdown with `-b`/`--bill-id`:
Select one bill for the countdown and outage schedule with `-b`/`--bill-id`:
```sh
./main.sh --bill-id 7356609804429
@@ -223,10 +223,10 @@ Select one bill for the large countdown with `-b`/`--bill-id`:
The dashboard uses Tehran time to show a large `HH : mm : ss` countdown for the
selected bill's ongoing or nearest upcoming outage. The compact schedule below
continues to list active current and future events for every bill, including
emergency outages. If the selected bill has no qualifying outage, the countdown
area says so while the full schedule remains visible. Without `--bill-id`, the
countdown retains the original behavior and selects across all bills.
is also limited to that bill's active current and future events, including
emergency outages. If the selected bill has no qualifying outage, the dashboard
shows `ALL CLEAR`. Without `--bill-id`, the countdown and schedule include all
bills.
The terminal output uses English-only labels and omits the stored address and
reason text. When there are no qualifying events for any bill it prints an `ALL