Aladdin API changing

Here’s how I restored Aladdin Connect support to 2024.7.3. I’m running the full Home Assistant OS in a Proxmox VM, so the steps are probably different in other environments.

  1. From the Home Assistant CLI, type login to drop to the shell.
  2. Go to the main config directory. This is the same directory that contains configuration.yaml.
    cd /mnt/data/supervisor/homeassistant
    
  3. Create a directory for Aladdin Connect. Check that the permissions on these directories match the permissions of other sibling directories.
    mkdir -p custom_components/aladdin_connect
    cd custom_components/aladdin_connect
    
  4. Download the Aladdin Connect component from the 2024.6.4 release:
    curl -Ls 'https://api.github.com/repos/home-assistant/core/contents/homeassistant/components/aladdin_connect?ref=2024.6.4' | jq -r '.[].download_url' | xargs -n1 curl -O
    
  5. Add a version to manifest.json:
    jq '.version = "0.0.1"' manifest.json > manifest.tmp && mv manifest.tmp manifest.json
    
  6. Restart Home Assistant.
7 Likes