Closed DutchKillerbee closed 6 months ago
i can not start and stop charging, but refresh is also not working for me. This is an open issue :)
same like #262
@t0bias-r maybe following helps to find solution. Two days ago audiconnect.execute_vehicle_action start-climatisation worked well for me. This was with the t0bias-r branch. Yesterday when I removed this from HACS, rebooted and installed the arjenvrh branch (f4bf375) it did not work anymore. I used a switch in my configuration.yaml
switch:
- platform: template
switches:
audiclimatise:
friendly_name: "Audi Climatisation"
value_template: "{{ is_state('sensor.audipreheat', 'on') }}"
turn_on:
service: audiconnect.execute_vehicle_action
data:
vin: wauzzzxxxxxxxxxxx
action: start_climatisation
turn_off:
service: audiconnect.execute_vehicle_action
data:
vin: wauzzzxxxxxxxxxxx
action: start_climatisation
edit: it works again (couple of days later)... i.e. the service call... also the switch does work (starting climatisation)... what still does not work is the feedback (the state is not refreshed); this is an issue referenced in several other issues.
I created a fix for the Services in general: https://github.com/audiconnect/audi_connect_ha/pull/281
Now we need to figure out which services are still working :)
For my understanding: The new Audi api doesn't have any service calls end points? Or we don't know them (yet).
I'm not knowledgeable about the API use, but... Few days after my above post that audiconnect.execute_vehicle_action start_climatisation did not work, it started to work again (with the yaml config as I posted). I did not install any update of fix. The other one (refresh vehicle data) still does not work for me.
@guidokieboom Are you using start_climatisation or start-climatisation
@guidokieboom Are you using start_climatisation or start-climatisation
I'm using start_climatisation as the action (just checked my configuration : above copy of yaml is still working for me). I see that I made a type-o above (now edited/corrected). Apologies for confusion. Maybe following helps as well. From Developer Tools, Services you can find:
@Kolbi @guidokieboom I can confirm that start_climatisation and stop_climatisation works (for my Q3 tfsi-e) Only the climatisation status is not updated after calling the service.. Probably this is due the fact that the audiconnect.refresh_vehicle_data service doesn't work (yet)
Tracking refresh_vehicle_data under #330 . HA entity updates post action should be resolved by #327 .
Climate control actions should be working, but please report if you run into any other issues.
Am I right that the services audiconnect.execute_vehicle_action (start_charger stop_charger) and the audiconnect.refresh_vehicle_data services are not working (yet) after switching to the new API (march 2024)? Thanks