Teslamate: add finishtime (#28405)
This commit is contained in:
parent
d921a82be0
commit
1369339de8
1 changed files with 5 additions and 0 deletions
|
|
@ -46,4 +46,9 @@ render: |
|
|||
source: mqtt
|
||||
topic: teslamate/cars/{{ .id }}/charge_limit_soc
|
||||
timeout: {{ .timeout }}
|
||||
finishtime:
|
||||
source: mqtt
|
||||
topic: teslamate/cars/{{ .id }}/time_to_full_charge
|
||||
timeout: {{ .timeout }}
|
||||
jq: if (. == null) or (. == 0) or (type != "number") or (. < 0) then null else (now + (. * 3600) | strftime("%Y-%m-%dT%H:%M:%SZ")) end
|
||||
features: ["coarsecurrent"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue