Skip to content

AR Smart IR

Latest

Choose a tag to compare

@marsh4200 marsh4200 released this 08 Jul 15:48
7c1102a

BUG FIX FROM v1.5.0

πŸ“₯ AR Smart IR v1.6.0

Making it easier than ever to add, manage, and protect your custom IR codesets.

✨ Added

πŸ“‚ Drop-in import inbox

Simply drop any codeset JSON into:

/config/ar_smart_ir_import/

The integration automatically installs it into the permanent codeset library:

/config/ar_smart_ir_codes/<platform>/<code>.json

This runs automatically whenever Home Assistant starts or the integration reloadsβ€”no manual copying required.

πŸ”„ Self-healing codesets

If an installed codeset is ever accidentally deleted or lost (for example after a bad restore or manual removal), importing it again automatically restores it using the same code number, so your existing entities continue working without any changes.

⚑ New ar_smart_ir.import_codes service

Import new codesets instantly without restarting Home Assistant.

The service provides a summary showing:

  • βœ… Imported codesets
  • πŸ”„ Restored codesets
  • ⏭️ Skipped codesets

🧠 How it works

  • πŸ“ The platform is determined automatically using:

    • The inbox subfolder (climate, fan, light, or media_player)
    • A platform key inside the JSON
    • Automatic detection from the codeset structure
  • πŸ”’ Numeric filenames (for example 9001.json) keep their existing code number.

  • πŸ†• Any non-numeric filename is automatically assigned the next available code starting from 9000.

  • πŸ’Ύ Assigned numbers are remembered in:

    /config/ar_smart_ir_import/.assigned.json

    Since this lives alongside your import folder, backing up the inbox also preserves all assigned code numbers.

  • πŸ›‘οΈ Existing installed or edited codesets are never overwritten. The importer only creates files that don't already exist.

πŸ“ Notes

  • βœ… Your installed codesets already survive HACS updates thanks to the permanent codeset library.
  • πŸ“₯ This release simply adds an easy "drop a file and it just works" workflow, plus automatic recovery if a codeset ever goes missing.
  • πŸ“– A helpful README.txt is automatically created in the import folder the first time the integration runs.