Skip to content

Commit c8ffcfd

Browse files
docs: fix two README inaccuracies in the TUI section (#69)
* docs: fix README inaccuracies vs. actual code - Remove false "auto-refreshes every 10 seconds" claim: the TUI has no auto-refresh (no set_interval call); refresh is manual via the `r` key. - Fix `t` key binding description from "Set timer" to "Toggle timer on/off" to match the code's action_toggle_timer behaviour. Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> * docs: fix stale auto-refresh docstring in DashboardScreen The DashboardScreen class docstring in tui/screens.py still claimed "auto-refreshing every 10 seconds" — the same outdated text removed from the README. Updated to match the actual behaviour: refresh is triggered manually via the 'r' key binding. Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
1 parent ca87a43 commit c8ffcfd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ Or run it directly without installing:
195195
uv tool run flameconnect[tui]
196196
```
197197

198-
The dashboard displays real-time fireplace status and auto-refreshes every 10
199-
seconds. Key bindings:
198+
The dashboard displays the current fireplace status. Refresh is manual — press
199+
`r` to poll the latest state. Key bindings:
200200

201201
| Key | Action |
202202
|-----|--------|
@@ -216,7 +216,7 @@ seconds. Key bindings:
216216
| `h` | Set heat mode |
217217
| `n` | Set temperature |
218218
| `u` | Toggle temp unit (°C/°F) |
219-
| `t` | Set timer |
219+
| `t` | Toggle timer on/off |
220220
| `w` | Switch fireplace |
221221
| `?` | Toggle help overlay |
222222
| `r` | Manual refresh |

‎src/flameconnect/tui/screens.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class DashboardScreen(Screen[None]):
124124
"""Main dashboard screen showing fireplace status and parameters.
125125
126126
Displays the currently selected fireplace with all its decoded
127-
parameters, auto-refreshing every 10 seconds.
127+
parameters. Refresh is triggered manually via the 'r' key binding.
128128
"""
129129

130130
CSS = _DASHBOARD_CSS

0 commit comments

Comments
 (0)