Skip to content

Unable to add team to a Team Tracker card #284

@miketangovictor

Description

@miketangovictor

This seems to be new with the recent release, but when I go to create a new Team Tracker card, I can click on "Teamtracker sensor" and it lists all of the teams that I've created, but when I attempt to select one it simply does not respond. Same issue if I open one of my existing Team Tracker cards and attempt to change the team.

The workaround is to use the code editor (click "show code editor" at the bottom of the Team Tracker Card configuration screen) and can type the correct one there, but appears to be an issue with how the UI is functioning.

I did ask Claude Code to look at this and it suggested the following:

The fix for the bug submission would be in ha-teamtracker-card.js around line 774:

Current code (broken):
@change=${(e)=>this._EntityChanged(e, 'entity')}

And in _EntityChanged (line 679):
newConfig.entity = event.target.value;
this._entity = event.target.value;

Fix — 3 lines to change:
// Line 774: change @change to @value-changed
@value-changed=${(e)=>this._EntityChanged(e, 'entity')}

// Lines 679-680: read from event.detail.value instead of event.target.value
newConfig.entity = event.detail.value;
this._entity = event.detail.value;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions