Todo list item-id attributes removed in 2025.5 - breaking card-mod customisation

Since updating to Home Assistant 2025.5, I can no longer target individual todo list items using their item-id attributes with card-mod. The item-id attribute no longer appears in the DOM.

What I was doing (worked in 2025.4):

yaml

ha-check-list-item[item-id="59732d58-23bb-11f0-927d-0800276fba8d"]$: |
  mwc-checkbox {
    visibility: hidden !important;
  }

My use case: I have daily habit tracking where certain todo items should be visible but not manually checkable (I have automations that detect completion).

What I’ve tried:

  • Text-based targeting with :contains() - doesn’t work
  • Position-based targeting with :nth-child() - doesn’t work
  • General selectors like ha-check-list-item work but affect ALL items

Has anyone found a way to target individual todo list items in 2025.5? Any workarounds or alternative approaches would be much appreciated!

Thanks!

Considering card mod is a 3rd party integration, wouldn’t elevating this issue be better suited on GitHub?

1 Like

I do not think posting this in GitHub card-mod repo can help since this is not a bug. Card-mod can only process a DOM structure. If some attribute is not reflected anymore - no way to address using this this attribute.
Proposing a PR with reflecting this attribute in DOM will probably cause a reaction “we do not support 3rd party plugins” from dev team.

1 Like

Yeah sorry if this was the wrong place, I have never posted before. I assumed it was a change to HA that had caused the attribute to no longer be present, so thought I’d ask here. I also thought here would be a more likely place to find somebody with another solution/workaround.