# ===================================================================== # Home Assistant Recorder Exclude Configuration # ===================================================================== # Add this to your configuration.yaml (merge with existing recorder: if any) # # This config excludes high-churn, low-value entities from the recorder # database. These entities will still work in automations, dashboards, # and templates — they just won't have historical data stored. # # Estimated impact: ~3,000+ fewer state changes recorded per hour # Updated: 2026-06-01 - added 450+ unavailable/ghost entities found via API audit # ===================================================================== recorder: # Keep 5 days of history (down from default 10) - reduces DB size significantly purge_keep_days: 5 # Commit every 3 seconds instead of 1 - reduces disk I/O commit_interval: 3 exclude: # ----------------------------------------------------------------- # DOMAINS: Exclude entire domains that don't need history # ----------------------------------------------------------------- domains: - update # ~81 update entities - no useful history - input_button # Momentary buttons - no useful history # ----------------------------------------------------------------- # ENTITY GLOBS: Pattern-based exclusions for bulk noisy entities # ----------------------------------------------------------------- entity_globs: # -- browser_mod: ghost/unavailable sessions -- - sensor.browser_mod_* - media_player.browser_mod_* - light.browser_mod_* - binary_sensor.browser_mod_* # Orphaned browser_mod sessions by UUID hash - sensor.288faade_* - sensor.59c2d41b_* - binary_sensor.288faade_* - binary_sensor.59c2d41b_* - light.288faade_* - light.59c2d41b_* - media_player.288faade_* - media_player.59c2d41b_* - media_player.90796735_* # -- iCloud3: Generates 1000+ state changes per 4 hours -- - sensor.icloud3_* - sensor.jess_iphone_15_next_update - sensor.jess_iphone_15_last_update - sensor.jess_iphone_15_last_located - sensor.jess_iphone_15_info - sensor.jess_iphone_15_interval - sensor.jess_iphone_15_moved_distance - sensor.jess_iphone_15_travel_time - sensor.jess_iphone_15_travel_time_min - sensor.jess_iphone_15_zone_distance - sensor.jess_iphone_15_zone_name - sensor.jess_iphone_15_badge - sensor.jess_iphone_15_dir_of_travel - sensor.jess_apple_watch_5_next_update - sensor.jess_apple_watch_5_last_update - sensor.jess_apple_watch_5_last_located - sensor.jess_apple_watch_5_info - sensor.jess_apple_watch_5_interval - sensor.jess_apple_watch_5_moved_distance - sensor.jess_apple_watch_5_travel_time - sensor.jess_apple_watch_5_travel_time_min - sensor.jess_apple_watch_5_zone_distance - sensor.jess_apple_watch_5_zone_name - sensor.jess_apple_watch_5_badge - sensor.jess_apple_watch_5_dir_of_travel # -- Frigate: Count sensors (almost always 0) -- - sensor.*_all_count - sensor.*_all_active_count - sensor.*_car_count - sensor.*_car_active_count - sensor.*_cat_count - sensor.*_cat_active_count - sensor.*_dog_count - sensor.*_dog_active_count - sensor.*_person_count - sensor.*_person_active_count - sensor.*_review_status - sensor.*_last_recognized_plate # Frigate camera-specific count sensors (caught by audit) - sensor.fence_top_* - sensor.back_wall_* - sensor.frontentry_cat_* - sensor.frontentry_dog_* # -- Frigate: Occupancy binary sensors that flap constantly -- - binary_sensor.*_cat_occupancy - binary_sensor.*_dog_occupancy - binary_sensor.*_all_occupancy # -- Plex: ~60 unavailable ghost client media players -- - media_player.plex_* # -- Pioneer VSX-832 duplicates/ghosts -- - media_player.pioneer_vsx_8326352 - media_player.pioneer_vsx_832_2 - media_player.pioneer_vsx_832_25 - media_player.pioneer_vsx_832_3 - media_player.pioneer_vsx_832_4 - media_player.pioneer_vsx_832_5 - switch.vsx_832_mute_* # -- Dead phone/tablet integrations (companion app devices no longer active) -- - sensor.blobphone_* - sensor.jessroom_* - sensor.jessroom_* - sensor.jesss_ipad_* # -- F1 integration (~31 entities, all unavailable off-season) -- - sensor.f1_* - binary_sensor.f1_* - select.f1_* - button.f1_* # -- OctoPrint (~30 entities, unavailable when printers are off) -- - sensor.octoprint_* - binary_sensor.octoprint_* - button.octoprint_* - number.octoprint_* # -- AdGuard Home (integration broken since LXC migration) -- - sensor.adguard_home_* - switch.adguard_home_* # -- Google/Nest speaker alarm/timer sensors (all unavailable) -- - sensor.living_room_speaker_* - sensor.lous_desk_* - sensor.master_bedroom_display_* - sensor.bathroom_speaker_* - sensor.rack_speaker_* - sensor.computer_desk_* - sensor.william_room_speaker_* - sensor.garage_speaker_* # -- Seasonal/spare smart plugs (unavailable ghost _2 entities) -- - sensor.christmas1_* - sensor.christmas2_* - binary_sensor.christmas2_* - switch.christmas2_* - switch.spare_2_switch_* - switch.spare_3_switch_* - switch.spare1_switch_* - switch.batsignal_switch_* - switch.hiddenside_switch_* - switch.clothesdrier_*_2 - switch.dishwasher_*_2 - switch.washingmachine_*_2 - switch.serverpower25_*_2 - switch.serverrack_*_2 - switch.bella_computer_*_2 - switch.smart_power_strip_*_2 # -- Proxmox last_boot (static, only changes on reboot) -- - sensor.*_last_boot # -- qBittorrent (high churn, low history value) -- - sensor.qbittorrent_* # -- Misc hash-ID orphaned entities -- - media_player.*_???????? # ----------------------------------------------------------------- # SPECIFIC ENTITIES: Individual high-churn or unavailable entities # ----------------------------------------------------------------- entities: # Time sensors - 720+ state changes/hour, pointless to record - sensor.date_time - sensor.time - sensor.time_2 # Frigate motion (useful in automations, not in history) - binary_sensor.backyard_motion - binary_sensor.driveway_motion # NVX fan RPM - changes every few minutes, not useful in history - sensor.nvx_fan_rpm # Mobile app sensors that update constantly - sensor.jess_iphone_audio_output - sensor.jess_iphone_app_version - sensor.jess_iphone_location_permission - sensor.jess_iphone_watch_battery - sensor.jess_iphone_watch_battery_state - sensor.jess_phone_last_update_trigger # Frigate internal - sensor.frigate_coral_inference_speed - sensor.frigate_uptime # Dead device trackers - device_tracker.ipad_2 - device_tracker.jessroom - person.trashtonly # Dead/unavailable notify targets - notify.ha_panel_1 - notify.ha_panel_2 - notify.ha_panel_2_2 - notify.ha_panel_3 - notify.jess_air - notify.jess_room - notify.jesss_ipad - notify.car_lancer - notify.cbt_log_bog - notify.photoframe - notify.livingroomframe # Misc unavailable entities - sensor.total_devices_online - sensor.opnsense_dhcp_leases - media_player.party_mode - media_player.all - media_player.calendar_pc - media_player.jess_room - media_player.nesthub51f9 - media_player.nesthubmax5fbe_2 - sensor.openweathermap_dew_point - sensor.openweathermap_uv_index - switch.cloud_alexa - switch.cloud_alexa_report_state - switch.cloud_google - switch.cloud_google_report_state - switch.cloud_remote - sensor.smart_power_strip_total_energy - sensor.lego_aquarium_power_2 - sensor.dishwasher_power_2