Troubleshooting
Common issues and solutions for the Status Banner Card.
Card Not Appearing
"Custom element doesn't exist"
Cause: The card resource isn't loaded properly.
Solutions:
- Refresh browser with cache clear (Ctrl+F5 / Cmd+Shift+R)
- Verify resource URL in Settings → Dashboards → Resources:
- Should be
/local/lovelace-multi-state-entities-card.js - Type must be "JavaScript Module"
- Should be
- Check file exists at
/config/www/lovelace-multi-state-entities-card.js
Card not in "Add Card" list
Solutions:
- Hard refresh the browser
- Clear browser cache
- Restart Home Assistant
- Re-add the resource in Dashboard settings
Configuration Issues
"No matching rule" warning
Cause: Entity state doesn't match any rule.
Solutions:
Add a catch-all rule at the end:
yaml- state: "/.*/" title: "DEFAULT" color: "#607D8B"Use
defaultconfiguration:yamldefault: title: "UNKNOWN STATE" color: "#9E9E9E"Check actual state in Developer Tools → States
Entity not found
Cause: Invalid entity ID or entity doesn't exist.
Solutions:
- Verify entity ID in Developer Tools → States
- Check for typos in entity ID
- Ensure entity is available (not
unavailable)
Template Issues
Templates not evaluating
Cause: Syntax error or invalid expression.
Solutions:
- Check double curly braces syntax (e.g.,
statewrapped in double braces) - Verify attribute names match exactly
- Check browser console for error messages
Attribute not found
Cause: Entity doesn't have the specified attribute.
Solutions:
- Inspect entity in Developer Tools → States
- Use
defaultfilter to provide fallback value - Check attribute spelling (case-sensitive)
Cross-entity templates failing
Cause: Referenced entity doesn't exist.
Solutions:
- Verify entity ID in states() function call
- Check entity availability
- Use default fallback
Styling Issues
Colors not showing
Cause: Invalid color format.
Solutions:
- Use valid hex:
#RRGGBBor#RGB - Check for typos in color property
- Verify color_map keys match state values
Accent not visible
Cause: Accent disabled or dimensions too small.
Solutions:
- Ensure
show_accent: true - Check
accent_widthandaccent_heightvalues - Verify accent color contrasts with background
Text not readable
Cause: Poor contrast between text and background.
Solutions:
- Set explicit
title_colorandsubtitle_color - Adjust accent color for better contrast
- Use darker/lighter background
Action Issues
Tap action not working
Cause: Action configuration error.
Solutions:
- Verify action syntax:yaml
tap_action: action: more-info entity: sensor.example - Check service name for
call-service - Verify target entity exists
Button not appearing
Cause: Button not configured in current rule.
Solutions:
- Add
button_textto rule - Ensure
show_footer: true - Configure
button_actions
Performance Issues
Card slow to update
Cause: Complex templates or many entities.
Solutions:
- Simplify template expressions
- Reduce cross-entity references
- Use template sensors for complex logic
Browser console errors
Cause: JavaScript errors in card.
Solutions:
- Check for template syntax errors
- Verify all referenced entities exist
- Update to latest card version
HACS Issues
Repository not found
Solutions:
- Use correct format:
johnneerdael/lovelace-multi-state-entities-card - Don't include
github.com/prefix - Check internet connection
Update not applying
Solutions:
- Clear browser cache
- Restart Home Assistant
- Re-download from HACS
Debug Mode
Enable browser developer tools to see detailed logs:
- Open browser DevTools (F12)
- Go to Console tab
- Filter by
[status-banner-card] - Look for error messages
Getting Help
If you're still stuck:
- Check GitHub Issues
- Include:
- Card configuration (YAML)
- Entity state (from Developer Tools)
- Browser console errors
- Home Assistant version