Skip to content

Label must have y property — every predefined_selections` label is rejected on HA 2026.8 (card v2.4.1) #44

Description

@Zulfurion

Since updating Home Assistant to 2026.8, the card no longer renders. It only shows the red error box Label must have y property.

The browser console logs the same message once per predefined_selections entry — I have 11 rooms defined and the error appears exactly 11 times. So it is not a single malformed entry: every label is rejected.

The card worked fine with the exact same configuration before the Home Assistant update. The card itself was not updated (v2.4.1, installed ~2 months ago, still the latest release).

Configuration

Every one of my 11 selections follows the documented format and has text, x and y. Example:

type: custom:xiaomi-vacuum-map-card
entity: vacuum.roborock_s6_maxv
vacuum_platform: Roborock
map_source:
  camera: image.salle_a_manger_roborock_s6_maxv_map_0_custom
calibration_source:
  camera: true
map_modes:
  - template: vacuum_clean_segment
    predefined_selections:
      - id: 28
        outline:
          - [14700, 28900]
          - [17300, 28900]
          - [17300, 33450]
          - [14700, 33450]
        label:
          text: Chambre Liam
          x: 16000
          y: 31175
          offset_y: 35

What I tried

Attempt Result
Hard reload / cache clear error persists
Remove offset_y, keep text / x / y error persists
Remove the whole label: block from all 11 selections card renders normally, zones and room selection work

So the trigger is the presence of a label object, not one of its properties. offset_y is not the cause.

Console output

XIAOMI-VACUUM-MAP-CARD Version v2.4.1
(11) Label must have y property        xiaomi-vacuum-map-card.js:1225

Workaround

Removing all label: blocks restores the card. Room names are no longer drawn on the map, but zone selection and cleaning still work.

Environment

Card v2.4.1
Home Assistant Core 2026.8.1
Supervisor 2026.07.5
Operating System 18.2
Frontend 20260729.6
Install method Home Assistant OS
Vacuum Roborock S6 MaxV, official Roborock integration
Map source Roborock Custom Map custom integration (image.*_map_0_custom)
Browser Chrome (desktop) and Fully Kiosk (Android tablet), same behaviour

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions