Skip to content

Commit

Permalink
Merge pull request #205 from dvx76/doc-pheater
Browse files Browse the repository at this point in the history
Fix example pheater automation
  • Loading branch information
WebSpider committed Sep 19, 2023
2 parents 47f7c6b + 644200b commit 16a9404
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,18 @@ Create the automation, in yaml or via GUI editor. You can find the device id by
```yaml
# automations.yaml
- alias: Set pre-heater duration
- alias: Pre-heater duration
description: ""
trigger:
- platform: state
entity_id: input_number.pheater_duration
- platform: state
entity_id: input_number.pheater_duration
condition: []
action:
- service: skodaconnect.set_pheater_duration
data_template:
device_id: <Device ID for vehicle>
duration: >
{{ trigger.to_state.state }}
- service: skodaconnect.set_pheater_duration
data_template:
device_id: <Your Device ID for vehicle>
duration: "{{ (states('input_number.pheater_duration') | float ) | round(0) }}"
mode: single
```
### Charge rate guesstimate
Expand Down

0 comments on commit 16a9404

Please sign in to comment.