Skip to content

CronoStar v5.4.0

Choose a tag to compare

@github-actions github-actions released this 07 Jan 00:07
· 149 commits to main since this release

This release represents a major milestone for CronoStar. We have overhauled the internal state logic for binary switches, achieved Platinum Quality standards, and
implemented critical fixes for editor stability and keyboard navigation.

🛡️ Critical Stability Fixes (New in v5.4.0)

  • Editor Reliability: Resolved ReferenceError: EditorI18n is not defined that caused crashes when switching languages in the Dashboard and Options views.
  • Keyboard Navigation: Fixed a TypeError when using arrow keys caused by uninitialized default keyboard modifiers.
  • Robust Configuration: Implemented safe fallback mechanisms for global settings to ensure the card remains functional even with partial backend responses.

⚡ Switch "Sound Logic" & Data Integrity

  • Rectangular Segments: Switch presets now enforce perfect rectangular areas, eliminating diagonal transitions for binary states.
  • 1-Minute Transition Pairs: State changes (0→1 or 1→0) are now represented by point-pairs exactly 1 minute apart for precise visualization.
  • Spike Suppression: Intelligent algorithm automatically absorbs redundant "micro-spikes" or dragging errors.
  • Segment Dragging: Dragging a switch point now automatically moves its transition partner, allowing you to move entire ON/OFF plateaus in one motion.

🪄 Wizard UI & Safety

  • Streamlined Workflow: Added "Save..." (finish immediately) and "Advanced..." (detailed setup) buttons directly to Step 1.
  • Optimized Layout: Preset selection moved to the top for a more intuitive flow.
  • Error Prevention: Blocked accidental dialog closure via the Enter key.
  • Space Management: Aggressive UI injection to hide the standard HA preview pane during Step 0, maximizing editor space.

🏅 Quality & Reliability

  • Platinum Quality Scale: Updated to meet the highest standards for Home Assistant custom integrations.
  • 94% Test Coverage: Backend test coverage significantly increased to ensure core service reliability.
  • Hot-Reloading: mtime-based cache invalidation allows CronoStar to detect manual profile edits without a Home Assistant restart.

📊 Chart UX & Interaction

  • Dynamic Cursors: Added crosshair pointers and axis-specific zoom icons.
  • Insertion Protection: 10-minute "buffer zone" to prevent accidental point creation when selecting existing points.
  • Copy JSON: New context menu entry to copy chart data as a compact JSON fragment.

🛠 Technical Notes

  • Frontend resources now include version parameters to force browser cache refreshes.
  • Optimized GitHub Actions to resolve deployment permission issues.
    Full Changelog: v5.3.2...v5.4.0