-
-
Notifications
You must be signed in to change notification settings - Fork 14
Technical: Badges
This page is the canonical reference for badge-related sensor contracts.
Note
Dashboard surfaces may use kid-friendly labels such as Ranks for cumulative badge status and Quests for periodic badge progress. The runtime sensor contracts and configuration types still use cumulative and periodic terminology.
Badge functionality is exposed through three sensor families:
- Badge status sensor (one per assignee profile)
- Badge progress sensor (one per assignee + non-cumulative badge)
- Badge definition sensor (one per badge definition)
Entity IDs are auto-generated by Home Assistant from unique IDs. Avoid hardcoding legacy sensor.kc_* patterns.
Represents cumulative rank/progression status for one profile.
- Primary state is the highest earned cumulative badge name.
current_badge_namehighest_earned_badge_namenext_higher_badge_namenext_lower_badge_namepoints_to_next_badge-
badge_status(active,grace,demoted) cycle_pointsmaintenance_points_requiredmaintenance_points_remainingmaintenance_end_datemaintenance_grace_end_datelast_awarded_dateaward_count
Tracks progress for one non-cumulative badge assignment.
- Percentage progress (
0to100) - Unit:
%
badge_namebadge_type-
status(inactive,active,completed) target_typethreshold_valuerecurring_frequencystart_dateend_dateoverall_progresscriteria_metlast_awardedaward_count
Represents badge metadata/configuration and aggregate earned count.
- Integer count of profiles that earned the badge.
badge_namedescriptionbadge_typetargetreset_schedulerequired_choresbadge_awardsassociated_achievementassociated_challenge
The integration exposes the following attribution keys in the badge sensor attributes:
-
assigned_user_ids(List of user UUIDs assigned to this badge) -
earned_by(List of user UUIDs who have earned this badge)
These keys are used for dashboard filtering and assignment tracking.
- Level/rank views read badge status sensor fields.
- Quest/progress lists read badge progress sensor fields.
- Catalog/admin views read badge definition sensor fields.
- Match on explicit keys (
badge_type,status, thresholds/progress), not display text. - Build templates defensively for missing optional attributes.
- Prefer key-based logic over entity-id string assumptions.
- Configuration: Badges overview
- Configuration: Cumulative Badges (Rank badges)
- Configuration: Periodic Badges (Quest badges)
- Advanced: Cumulative Badges (Rank badges)
- Advanced: Periodic Badges (Quest badges)
Last Updated: March 2026 (dashboard terminology bridge for Rank and Quest badge wording)
🚀 Getting Started
- Home
- Installation
- Migration from KidsChores
- Quick Start
- Quick Start Scenarios
- Dashboard Generation
- Backup & Restore
⚙️ Configuration
- General Options
- Points
- Users
- Chores
- Rewards
- Badges - Overview
- Badges - Cumulative
- Badges - Periodic
- Achievements
- Challenges
- Notifications
🔧 Services
💡 Tips & Tricks
- Template Cookbook for Chores, Rewards, and Approvals
- Bulk Chore Updates via Scripts
- Auto-Approve Chores
- Calendar Event Due Dates
- NFC Claim Workflow
- Overdue Penalty Automation
- Critical Overdue Alerts
- Send ChoreOps Alerts to ntfy
📖 Advanced Topics
- Dashboard Integration
- Access Control
- Chores - Advanced
- Badge Cumulative - Advanced
- Badge Periodic - Advanced
📚 Technical Reference
- Points
- Users
- Entities & States
- Chores
- Badges
- Configuration Detail
- Dashboard Generation
- Notifications
- Weekly Activity Reports
👩🔧 Troubleshooting