zabuldon / teslajsonpy

Apache License 2.0
57 stars 62 forks source link

SCHEDULED_DEPARTURE not working #358

Closed macray76 closed 2 years ago

macray76 commented 2 years ago

Using the following service call but the schedule isn't updating. Trace shows it has executed correctly.

service: tesla_custom.api
data:
  command: SCHEDULED_DEPARTURE
  parameters:
    path_vars:
      vehicle_id: "{{ state_attr('binary_sensor.<vehicle>_online', 'id') }}"
    enable: true
    preconditioning_enabled: true

Format works for other commands. Using the latest 2022.10.5

macray76 commented 2 years ago

Worked out it needs all parameters to work!