Skip to content

🔺 Improvements and 🛠️ Bug Fix

Choose a tag to compare

@cataseven cataseven released this 25 Feb 15:16
64658bd

If you are still using version before 1.2.0 please first read the release notes of v1.2.0 and v1.2.1

Summary Card — Release Notes v1.2.2

🧹 Vacuum Domain: Input Select in More-Info Popup

Vacuum cards now support displaying input_select entities (e.g., map selection, cleaning mode) directly inside the more-info popup.

Editor Configuration

A new "Show Input Select in Popup" toggle appears in the vacuum card editor — but only when the Tap Action or Hold Action is set to More Info. The toggle renders contextually under the relevant action. When enabled, an entity picker filtered to input_select domain allows selecting which entities to display. You can select your room maps directly from more info

Popup Rendering

Selected input_select entities appear below the vacuum controls inside the popup. Each entity shows its friendly name, icon, and a dropdown to change its current option — calling input_select.select_option on change.

image

🔘 New Domain: input_boolean

input_boolean has been added to DOMAIN_DEFINITIONS as a toggleable on/off domain — identical in behavior to switch. It now appears in the domain selector in the visual editor and supports all existing features: conditional styles, active/inactive state tracking, and toggle actions.


🗺️ New Domain: zone

zone has been added as a new domain. Zone entities in HA return a numeric state representing the number of persons currently in that zone.

Conditions

Condition Description
if_any_occupied Any zone has persons (state > 0)
if_all_empty All zones are empty (state = 0)
if_any_above Any zone above a given value (requires value)
if_any_below Any zone below a given value
if_any_equal Any zone equal to a given value
if_any_not_equal Any zone not equal to a given value
any_unavailable Any zone unavailable

Template Variables

Variable Description
{{ occupied_count }} Number of zones with persons
{{ empty_count }} Number of empty zones
{{ total_persons }} Total person count across all zones
{{ total_persons_list }} Comma-separated friendly names of all persons across zones
{{ total_count }} Total zone entity count
{{ unavailable_count }} Unavailable zone count

More-Info Popup

The zone popup displays each zone with its person count and lists the persons currently in each zone as avatar chips on the right side. If HA has an entity_picture for the person, the avatar is shown; otherwise a generic account icon is used.

Configuration Example

- domain: zone
  name: Home
  include:
    - zone.home
  styles:
    - condition: if_any_occupied
      text: "{{ total_persons }} at home"
      secondary_text: "{{ total_persons_list }}"
      icon: mdi:home-account
      color: green
    - condition: if_all_empty
      text: "Nobody home"
      icon: mdi:home-outline
      color: grey

✋ Drag & Drop Fix in Visual Editor

Previously, drag-and-drop was attached to the entire card/scenario container. This caused unintended drags when clicking or selecting text inside input fields.


🎨 Visual Editor Improvements

Color Picker Text Input

Color fields now include an editable text input alongside the color picker circle. Users can type color values directly (hex, named colors, rgb(), CSS variables) in addition to using the picker.

Modernized Editor Hierarchy

The editor CSS has been redesigned to reduce visual nesting and clarify the content hierarchy:

Colored Action Buttons

  • Add Domain Card
  • Add Clock
  • Add Scenario
  • Add Template Condition

Other Editor Changes

  • Delete confirmations removed for faster workflow.
  • Scroll-to-card on expand now targets the toolbar
  • Drag handles use smaller icons with reduced opacity for a cleaner look.