Skip to content

🚀 Enhanced Preset Positions with Custom Icons

Latest

Choose a tag to compare

@Hugo0485 Hugo0485 released this 27 Sep 00:34
78d2443

Thanks for using Double Curtain Card!
This update replaces the misleading "door" function with more accurate "fixed position" buttons, adds customizable icons.

✨ What’s New

  • Renamed "Door" to "Fixed Position": The previous "door" function was misnamed. It’s now called "Fixed Position" (left_fixed_position and right_fixed_position) to better reflect its purpose. Use it to set a preset position for your covers, e.g., to partially open a curtain for a door effect when a door is behind it.
    (Leave empty to hide the corresponding preset button, giving you full control over the card’s layout.)
  • Customizable Icons: Choose your own icons for the preset buttons (left_fixed_icon and right_fixed_icon) using the Material Design Icons (MDI) picker in the GUI editor. Type mdi: to see suggestions with previews (e.g., mdi:curtains). Default: mdi:door-open.

🔧 Changes

  • Breaking Change: If you previously used left_door_position or right_door_position in your YAML config, update to left_fixed_position and right_fixed_position. The GUI editor automatically uses the new fields.
  • Internal Updates: Renamed internal variables (e.g., doorActive to fixedActive) for consistency. No impact on functionality.

📦 How to Update

  • HACS: Go to HACS → Frontend → Find "Double Curtain Card" → Click Update/Redownload.
  • Manual: Replace dist/double-curtain-card.js with the new version and increment the resource URL in configuration.yaml (e.g., /local/double-curtain-card.js?v=1.4.0).
  • Clear Cache: After updating, clear your browser cache (Ctrl+F5) or reload the frontend via Developer Tools.