You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have filled out the issue template to the best of my ability.
This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
This issue is not a duplicate issue of any previous issues..
Describe the issue
I have an automation that deactivates the sentry when I park in certain areas, and another that activates it when I leave those areas.
The error occurs when I leave the area, the car is driving, the command is not sent to the vehicle: Error: not_parked
Reproduction steps
id: tesla_model_3_sortie_zone_activation_sentinelle
alias: "Sortie Zone Activation Sentinelle"
initial_state: 'on'
trigger:
platform: state
entity_id: device_tracker.la_fleche_bleue_location
condition:
condition: template
value_template: >-
{%- set lieux = [ "A la Maison de David", "A la Maison de La Roquebrussanne", "Chez Sébastien et Angeline", "Chez Pierre et Véro", "home" ] -%}
{{ trigger.from_state.state in lieux }}
action:
The not_parked is from your Tesla directly, so you are probably going to need to add logic in your automation to wait for the sensor.la_fleche_bleue_shift_state to enter "Park" before calling switch.turn_on
Checklist
Describe the issue
I have an automation that deactivates the sentry when I park in certain areas, and another that activates it when I leave those areas.
The error occurs when I leave the area, the car is driving, the command is not sent to the vehicle: Error: not_parked
Reproduction steps
alias: "Sortie Zone Activation Sentinelle"
initial_state: 'on'
trigger:
entity_id: device_tracker.la_fleche_bleue_location
condition:
value_template: '{{ trigger.from_state.state != trigger.to_state.state }}'
value_template: >-
{%- set lieux = [ "A la Maison de David", "A la Maison de La Roquebrussanne", "Chez Sébastien et Angeline", "Chez Pierre et Véro", "home" ] -%}
{{ trigger.from_state.state in lieux }}
action:
entity_id: switch.la_fleche_bleue_sentry_mode
...
Debug logs
No response
The text was updated successfully, but these errors were encountered: