You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.1.2: options flow for poll interval + history window
Users can now reach Settings → Devices & Services → ⋮ → Configure to
change two runtime knobs that were previously hard-coded:
* Polling interval — dropdown of 30 min / 1h / 3h / 6h (default) / 12h
/ 24h. Pushed onto the coordinator in-place via add_update_listener,
so changes take effect on the next tick without reloading the entry.
* History window (1–60 days) — how far back the coordinator pulls on
every refresh. Read fresh from entry.options each poll, no listener
needed.
A description in the form warns the user that polling more often than
6 hours does not produce a smoother Energy Dashboard graph: the EAC
portal updates daily and 30-min profile data already lags by hours.
The real fix for graph density is statistics import (planned).
Coordinator no longer uses const-level SCAN_INTERVAL / HISTORY_DAYS;
those are replaced by defaults + per-entry options. Bumps manifest
version 0.1.1 → 0.1.2. EN and RU translations updated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: custom_components/eac_cyprus/strings.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,5 +19,17 @@
19
19
"abort": {
20
20
"already_configured": "This account is already configured."
21
21
}
22
+
},
23
+
"options": {
24
+
"step": {
25
+
"init": {
26
+
"title": "EAC settings",
27
+
"description": "Heads-up: the portal updates daily and 30-min profile data lags by hours. Polling more often than 6 hours does not give a smoother Energy Dashboard graph — for that you need statistics import (planned).",
28
+
"data": {
29
+
"scan_interval_minutes": "Polling interval",
30
+
"history_days": "History window (days fetched on each refresh)"
Copy file name to clipboardExpand all lines: custom_components/eac_cyprus/translations/en.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,5 +19,17 @@
19
19
"abort": {
20
20
"already_configured": "This account is already configured."
21
21
}
22
+
},
23
+
"options": {
24
+
"step": {
25
+
"init": {
26
+
"title": "EAC settings",
27
+
"description": "Heads-up: the portal updates daily and 30-min profile data lags by hours. Polling more often than 6 hours does not give a smoother Energy Dashboard graph — for that you need statistics import (planned).",
28
+
"data": {
29
+
"scan_interval_minutes": "Polling interval",
30
+
"history_days": "History window (days fetched on each refresh)"
Copy file name to clipboardExpand all lines: custom_components/eac_cyprus/translations/ru.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,5 +19,17 @@
19
19
"abort": {
20
20
"already_configured": "Этот аккаунт уже добавлен."
21
21
}
22
+
},
23
+
"options": {
24
+
"step": {
25
+
"init": {
26
+
"title": "Настройки EAC",
27
+
"description": "Имейте в виду: портал обновляет данные раз в сутки, а 30-минутный профиль приходит с задержкой в часы. Опрос чаще 6 часов не сделает график Energy Dashboard плотнее — для этого нужен импорт statistics (в плане).",
28
+
"data": {
29
+
"scan_interval_minutes": "Интервал опроса",
30
+
"history_days": "Окно истории (за сколько дней тянуть на каждом опросе)"
0 commit comments