Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…aconnect into main
  • Loading branch information
Farfar committed Feb 11, 2021
2 parents 5b9c5a5 + 15b8385 commit 26300d0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,35 @@ In this example we are sending notifications to an ios device. The Android compa

Save these automations in your automations file `<config dir>/automations.yaml`

### Use input_select to change pre-heater duration
First create a input_number, via editor in configuration.yaml or other included config file, or via GUI Helpers editor.
It is important to set minimum value to 10, maximum to 60 and step to 10. Otherwise the service call might not work.
```yaml
# configuration.yaml
input_number:
pheater_duration:
name: "Pre-heater duration"
initial: 20
min: 10
max: 60
step: 10
unit_of_measurement: min
```
Create the automation, in yaml or via GUI editor.
```yaml
# automations.yaml
- alias: Set pre-heater duration
trigger:
- platform: state
entity_id: input_number.pheater_duration
action:
- service: skodaconnect.set_pheater_duration
data_template:
vin: <VIN-number of car>
duration: >
{{ trigger.to_state.state }}
```

### Get notification when your car is on a new place and show a map with start position and end position
Note: only available for iOS devices since Android companion app does not support this yet.
This might be broken since 1.0.30 when device_tracker changed behaviour.
Expand Down

0 comments on commit 26300d0

Please sign in to comment.