Aladdin API changing

There was a bug preventing automations from being able to open/close/toggle the doors in the previous version; I’ve fixed it in the latest release, v0.2.2.

1 Like

Wow, I’ve missed this until now. Will this work if I have signed in from the mobile app and “updated to the new API?” Or whatever they were saying would happen if you log in?

I can confirm, it works great. You guys are awesome!

*Haha, and judging by the PR from Aladdin it looks like I found this just before they fixed the main integration.

As a hacky stop gap you can use

service: homeassistant.reload_config_entry
data: {}
target:
  entity_id: cover.main_garage_door

to reload the integration. This causes a status update.

I opened an issue on Github.

Here’s an automation that will get this updating. It requires something as a motion trigger. You even get “is closing” while it’s in process. Might have to play with the repeat qty, mine took about 25 seconds to get from the close request to “closed”.

alias: Temp - Update Garage Status on Motion
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.frigate_lorex_11_shop_2_motion
    to: "on"
condition: []
action:
  - repeat:
      count: 7
      sequence:
        - service: homeassistant.reload_config_entry
          data: {}
          target:
            entity_id:
              - cover.main_garage_door
        - delay:
            hours: 0
            minutes: 0
            seconds: 5
            milliseconds: 0
mode: single
1 Like