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!