hass.tibber_prices/custom_components/tibber_prices/sensor/attributes
Julian Pawlowski 48d6e2580a refactor(coordinator): remove redundant lifecycle callback system
Removed custom lifecycle callback push-update mechanism after confirming
it was redundant with Home Assistant's built-in DataUpdateCoordinator
pattern.

Root cause analysis showed HA's async_update_listeners() is called
synchronously (no await) immediately after _async_update_data() returns,
making separate lifecycle callbacks unnecessary.

Changes:
- coordinator/core.py: Removed lifecycle callback methods and notifications
- sensor/core.py: Removed lifecycle callback registration and cleanup
- sensor/attributes/lifecycle.py: Removed next_tomorrow_check attribute
- sensor/calculators/lifecycle.py: Removed get_next_tomorrow_check_time()

Impact: Simplified coordinator pattern, no user-visible changes. Standard
HA coordinator mechanism provides same immediate update guarantee without
custom callback complexity.
2025-11-22 13:01:17 +00:00
..
__init__.py feat(sensor): add data lifecycle diagnostic sensor with push updates 2025-11-20 15:12:41 +00:00
daily_stat.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
future.py feat(sensor): add data lifecycle diagnostic sensor with push updates 2025-11-20 15:12:41 +00:00
interval.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
lifecycle.py refactor(coordinator): remove redundant lifecycle callback system 2025-11-22 13:01:17 +00:00
metadata.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
timing.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
trend.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
volatility.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
window_24h.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00