cyr-ius / hass-audiconnect

Adds an audi connect integration to home assistant
MIT License
32 stars 5 forks source link

how to call the lock/unlock service #13

Closed JamieP83 closed 1 year ago

JamieP83 commented 1 year ago

hey all, trying to add a script but not sure if i need to audi my audi SPIN?

this doesnt seem to work?

audi_service_lock:
  sequence:
    - service: audiconnect.execute_vehicle_action
      data:
        vin: !secret audisq5vin
        action: "lock"
cyr-ius commented 1 year ago

the service retrieves the pin present in the addon settings. So you don't need to put it You can use also service: lock.unlock or lock.lock