Skip to content

Releases: levonisyas/clockpro-card

Fixed Position handling Faz.2.1

27 Feb 15:48

Choose a tag to compare

πŸš€ Clock Pro Card β€” Faz.2.1 Release (Fix)

πŸ”§ What’s Fixed
Position handling has been corrected for elements using left / right and top / bottom alignment.

Previously, default position values could remain active at runtime even when overridden via YAML or the visual editor.
This could cause elements not to align as expected (for example, switching from left to right).

βœ… What’s Improved

  • Position axes (left/right, top/bottom) are now normalized deterministically after config merge.
  • Runtime behavior now exactly reflects the configuration defined in YAML or the editor.
  • The fix applies consistently to all configuration sources (YAML, editor, manual config).

⭐ Result
More predictable and reliable positioning behavior, with no changes required to existing configurations.

ClockPro Card β€” Forecast Engine & Full Visual Editor Expansion

21 Feb 12:04

Choose a tag to compare

πŸš€ ClockPro Card β€” Combined Release Notes (Faz.1.5 & Faz.2)

This combined release delivers two major expansions:
Faz.1.5 introduces the new Forecast Engine, while Faz.2 elevates the Visual Editor into a full, first‑class configuration environment. Together, they establish a predictable, YAML‑equivalent, fully visual workflow for all core features.

A new black & white cloud SVG icon pack was added, providing matching light (white) and dark (black) cloud variants for high‑contrast themes.


image

✨ Faz.2 β€” Visual Editor Expansion

Faz.2 focuses on extending the Visual Editor to cover all primary layout, typography, and weather‑related settings while keeping the configuration fully YAML‑free and YAML‑equivalent.

What’s New

  • Full Visual Editor coverage
    All major card settings can now be configured visually without writing YAML.

  • Unified positioning system
    Time, date, day, weather icon, details, location, and forecast now share a single deterministic positioning model for consistent layout control.

  • Grouped settings layout
    Related controls (font size, weight, spacing, etc.) are grouped for clarity and faster tuning.

  • Native entity selection
    Weather, location, and sun entities are selected using Home Assistant’s built‑in entity picker.

  • Forecast editor support
    Forecast visibility, typography, spacing, and temperature format can be configured directly from the editor.

Technical Notes

  • Visual Editor output is 100% compatible with manual YAML configuration.
  • No UI‑only or hidden options were added.
  • Existing YAML setups continue to work without modification.

Faz.2 establishes the Visual Editor as a first‑class configuration method, not a secondary mode.


🌀 Faz.1.5 β€” Forecast Engine & 5‑Day Weather Element

New: 5‑Day Forecast Element (Configurable 1~7 Days)

  • Added an optional 5‑day daily weather forecast.
  • Rendered as a native element using the existing layout engine.
  • Fully configurable via YAML under elements.forecast.

New: Forecast Element Engine

  • Forecast behaves like any other element (time, date, icon, etc.).
  • Supports absolute positioning (pos), spacing (gap), and per‑section styling.
  • Can be placed anywhere without affecting other elements.

Forecast Display

  • Shows weekday label, weather icon (MDI or Pro SVG), and temperature (max or max/min).
  • Number of days configurable (days: 1–7).
  • Automatically falls back if forecast data is unavailable.

Visual Consistency

  • Uses the same weather entity as the main icon.
  • Respects day/night icon variants when available.
  • No extra sensors, helpers, or dependencies required.

Added Demo SVG Icon Pack

14 Feb 20:36

Choose a tag to compare

πŸš€ Clock Pro Card β€” New Release (Faz.1.1)

πŸ”§ What’s New

  • SVG Icon Pack included as a demo
    This release now ships with a svg.zip file inside the installation package.
    It contains a ready‑to‑use demo icon set for Clock Pro Card.

  • Manual extraction required
    After installation, please extract the svg.zip file into your preferred folder under /www/ (or your custom location).

πŸ“ Configuration Update

After extracting the icons, update your card configuration:

pro_icon_pack: /local/community/clockpro-card/icon-pack.js
pro_icons_folder: svg   # demo folder name included in this release
  • pro_icon_pack β†’ points to the JS file included with the card
  • pro_icons_folder β†’ should match the folder name where you extracted the SVG icons

⭐ Enjoy

This release aims to make setup easier by providing a working demo icon pack out of the box.

Faz.1

08 Feb 17:06

Choose a tag to compare

πŸš€ ClockPro Card β€” Release Notes (Faz.1)

βœ… New: Pro Icon Pack (SVG)

  • Added full Pro Icon Pack system.
  • Icons are loaded from:
    /config/www/community/clockpro-card/icons/
  • Supports full day + night icon sets.

πŸŒ™ New: Full Day/Night Mode

  • Card detects night mode using:
    sun_entity: sun.sun
  • Every weather condition can switch to its *-night variant.

🧩 New: Stub Config Improvements

  • Added default Pro icon settings in static getStubConfig()

  • Includes:

    • pro_icon_pack: icon-pack.js
    • pro_icons_folder: icons

πŸ•’ Improved: Time Engine

  • Tight hour digits + configurable spacing:

    • gaps.hh_colon
    • gaps.colon_mm
  • First digit coloring supported (red digit style).

πŸŽ›οΈ Improved: Pro Settings

  • Added per-element controls:

    • position (top/left/right/bottom)
    • font size/weight
    • letter spacing
    • colors

Final Release Faz.0

07 Feb 18:16

Choose a tag to compare

A professional weather + clock card for Home Assistant Lovelace.
Absolute positioning, customizable typography, SVG icon packs, and flexible layout β€” designed to be easy to use and powerful.

πŸ‘‰ Works with any weather entity.
πŸ‘‰ Optional SVG icon pack support.
πŸ‘‰ Full YAML config β€” no dependencies.