Skip to content

v1.14.7.6b

Pre-release
Pre-release

Choose a tag to compare

@kneave kneave released this 09 Jan 22:03

[1.14.7.6b] - 2026-01-09

Added

  • Frontend Card Registration: Improved card registration following HACS best practices
    • Card now registers in picker immediately when JavaScript loads, before class definition
    • Registration wrapped in IIFE with error handling to prevent cascade failures
    • Better logging for debugging registration issues
  • Automatic Browser Refresh Detection: Frontend now detects when cached version is stale
    • Version checking in both climate-scheduler-card.js and panel.js
    • Shows toast notification when browser cache doesn't match server version
    • Uses sessionStorage to avoid showing notification repeatedly
    • Works for both dashboard cards and panel views
  • Automatic Reload on Install/Upgrade: Integration automatically reloads after first install or version upgrade
    • Detects first install and upgrades by tracking version in config entry
    • Triggers automatic reload 2 seconds after setup completes
    • Ensures all entities and UI components are properly initialized
    • Eliminates need for manual reload after installation or updates

Changed

  • Removed "(Dev)" suffix from "Reload Integration" service and button
    • Service name: climate_scheduler.reload_integration (unchanged)
    • Display name now: "Reload integration" (was "Reload integration (Dev)")
    • Description updated to remove "development only" text
  • Frontend version checking moved from backend to JavaScript
    • More accurate detection of stale browser cache
    • Backend cannot know what's cached in user's browser

Fixed

  • Issue 101 Graph Rendering: Enhanced fix for graph line drawing at the start of the day in 7-day and weekday/weekend modes
    • Graph now correctly uses previous day's last temperature node when drawing the line at the start of the current day
    • Added setPreviousDayLastTemp() method to graph.js for cross-day continuity
    • Helper function in app.js determines correct previous day based on schedule mode (all_days, 5/2, individual)
    • Fixes visual issue where graph would incorrectly draw from current day's last node at midnight
  • Timezone Handling: Fixed coordinator to use Home Assistant's configured timezone instead of system timezone
    • Replaced all datetime.now() calls with dt_util.now() in coordinator.py (11 instances)
    • Ensures schedule activation respects HA's timezone configuration, not the host system's timezone
    • Critical for users where Home Assistant timezone differs from system timezone
    • Properly handles daylight saving time (DST) transitions
    • Storage format unchanged - times remain as "HH:MM" strings
  • Card registration now more resilient to loading errors
  • Version mismatch detection works correctly in both panel and dashboard contexts