|
2 | 2 |
|
3 | 3 | # ========== INTEGRATION METADATA ========== |
4 | 4 | DOMAIN = "ev_smart_charger" |
5 | | -VERSION = "2.7.3" |
| 5 | +VERSION = "2.7.4" |
6 | 6 | DEFAULT_NAME = "EV Smart Charger" |
7 | 7 | FRONTEND_URL_BASE = "/api/ev_smart_charger/frontend" |
8 | 8 | FRONTEND_CARD_FILENAME = "ev-smart-charger-dashboard.js" |
|
189 | 189 | HELPER_NOTIFY_SMART_BLOCKER_SUFFIX = "evsc_notify_smart_blocker_enabled" |
190 | 190 | HELPER_NOTIFY_PRIORITY_BALANCER_SUFFIX = "evsc_notify_priority_balancer_enabled" |
191 | 191 | HELPER_NOTIFY_NIGHT_CHARGE_SUFFIX = "evsc_notify_night_charge_enabled" |
| 192 | +HELPER_LIVE_ACTIVITIES_ENABLED_SUFFIX = "evsc_live_activities_enabled" |
192 | 193 |
|
193 | 194 | # Persistent notification IDs (fixed → updated in place, never stacked) |
194 | 195 | # v2.5.0 (issue #35): surfaced when Priority Balancer is disabled while home |
|
422 | 423 | # number (evsc_max_battery_discharge_for_ev) → 66. v2.3.0 (issue #32) adds 1 |
423 | 424 | # always-created number (evsc_night_pv_handoff_threshold) → 67. v2.6.0 (issue #42) |
424 | 425 | # adds 2 always-created numbers (nighttime sunset/sunrise offsets) → 69. |
| 426 | +# v2.7.4 adds 1 always-created switch (live activities enabled) → 70. |
425 | 427 | # COUPLING (issue #22): the disabled-helper tolerance in |
426 | 428 | # __init__._async_wait_for_helper_registration assumes this equals the number |
427 | 429 | # of entities actually created when nothing is disabled. If it drifts above |
428 | 430 | # reality (cf. v1.6.20), a single user-disabled entity turns the tolerant |
429 | 431 | # startup path back into a hard ConfigEntryNotReady. Keep this in sync. |
430 | | -TOTAL_INTEGRATION_ENTITIES = 69 |
| 432 | +TOTAL_INTEGRATION_ENTITIES = 70 |
431 | 433 | # Verified count (v2.3.0): 53 entities when running in PV-only mode. |
432 | 434 | # Unchanged in v2.1.0: the discharge number is battery-only (skipped in PV-only mode). |
433 | 435 | # v2.3.0 (issue #32): evsc_night_pv_handoff_threshold is NOT battery-only → +1 → 53. |
434 | 436 | # v2.6.0 (issue #42): 2 nighttime offset numbers are NOT battery-only → +2 → 55. |
| 437 | +# v2.7.4: live activities enabled switch is NOT battery-only → +1 → 56. |
435 | 438 | # Skipped helpers (13): 2 switches (use_home_battery, preserve_home_battery), |
436 | 439 | # 3 numbers (home_battery_min_soc, battery_support_amperage, battery_support_sunset_buffer), |
437 | 440 | # 7 daily home min SOC numbers (Monday–Sunday), 1 sensor (today_home_target). |
438 | 441 | # Hybrid Mode entities are still created in PV-only mode but stay IDLE (requires soc_home). |
439 | | -TOTAL_INTEGRATION_ENTITIES_NO_BATTERY = 55 |
| 442 | +TOTAL_INTEGRATION_ENTITIES_NO_BATTERY = 56 |
440 | 443 |
|
441 | 444 |
|
442 | 445 | def has_home_battery(config: dict) -> bool: |
|
0 commit comments