Teslamate: add finishtime (#28405)

This commit is contained in:
Hofy 2026-03-22 10:57:24 +01:00 • committed by GitHub
parent d921a82be0
commit 1369339de8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]