tesla-ble: add finishtime (#32768)
This commit is contained in:
parent
768c1c7f53
commit
fb18f33d78
1 changed files with 6 additions and 0 deletions
|
|
@ -70,6 +70,12 @@ render: |
|
|||
scale: 1.60934
|
||||
timeout: {{ .timeout }}
|
||||
cache: 1s
|
||||
finishtime:
|
||||
source: http
|
||||
uri: {{ .url }}:{{ .port }}/api/1/vehicles/{{ .vin }}/vehicle_data?endpoints=charge_state
|
||||
jq: 'if (.response.response.charge_state.minutes_to_full_charge > 0) then (now + (.response.response.charge_state.minutes_to_full_charge * 60) | strftime("%Y-%m-%dT%H:%M:%SZ")) else "" end'
|
||||
timeout: {{ .timeout }}
|
||||
cache: 1s
|
||||
status:
|
||||
source: http
|
||||
uri: {{ .url }}:{{ .port }}/api/1/vehicles/{{ .vin }}/vehicle_data?endpoints=charge_state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue