Skip to content

CronoStar v5.3.2

Choose a tag to compare

@github-actions github-actions released this 05 Jan 22:49
· 158 commits to main since this release

🌟 CronoStar v5.3.0

This release introduces significant improvements to the setup wizard, overhauls the binary state logic (Switches), optimizes data loading stability, and strengthens
integration with the Home Assistant interface.

✨ Key Changes

🏅 Quality & Reliability

  • Platinum Quality Scale: This component has been updated to meet the Platinum Quality Scale requirements for Home Assistant custom integrations.
  • Test Coverage: Backend test coverage has been increased to 94%, ensuring high reliability and stability across all core services and logic.

⚡ Switch "Sound Logic" & Data Integrity

  • Rectangular Segments: Implemented a new logic for switch presets that enforces perfect rectangular areas, eliminating diagonal transitions.
  • 1-Minute Transition Pairs: Every state change (0→1 or 1→0) is now represented by a pair of points exactly 1 minute apart for precise visualization.
  • Spike Suppression: Intelligent algorithm that automatically absorbs redundant "micro-spikes" or dragging errors, keeping the graph clean.
  • Segment Dragging: Dragging a milestone now automatically moves its transition partner, allowing you to raise or lower entire plateaus in a single motion.

🪄 Wizard UI Polish & Safety

  • Optimized Layout: Preset selection in Step 1 has been moved to the top for a more intuitive configuration flow.
  • Streamlined Workflow: Added "Save..." (to finish immediately) and "Advanced..." (to continue to detailed setup) buttons directly to the first step.
  • Error Prevention: Blocked accidental dialog closure via the Enter key and resolved a critical ReferenceError (validKeys) that prevented completing Step 5.
  • Space Management: Improved hiding of the standard HA preview pane during Step 0 to maximize the available space for the editor.

📂 File System & Hot-Reloading

  • Automatic Reloading: Implemented mtime-based cache invalidation. If you manually edit a profile JSON file, CronoStar will detect the change without requiring a Home
    Assistant restart.
  • Profile Synchronization: The coordinator now synchronizes the available profiles list every minute, reflecting manual additions or removals almost instantly.

📊 Chart UX & Interaction

  • Dynamic Cursors: Added a crosshair pointer over the graph area and zoom-in icons when hovering over the X and Y axes.
  • Insertion Protection: Introduced a 10-minute "buffer zone" around existing points to prevent accidental insertion when you intended to select a point.
  • Copy JSON Fragment: New entry in the context menu (right-click) to copy the chart data to your clipboard in a compact, single-line JSON format.

🔧 Technical Improvements

  • Cache Management: Frontend resource URLs now include the component version as a parameter, forcing a browser cache refresh with every new release.
  • Workflow Robustness: Optimized automatic build and release processes on GitHub Actions, resolving 403 permission errors during bundle deployment.
    Full Changelog: v5.3.1...v5.3.2