# HG changeset patch
# User Daniel O'Connor <darius@dons.net.au>
# Date 1640062471 -37800
# Node ID 594ba407689bf13c613000a6d6b1d1a1c62d7135
# Parent  57ffb39f29d4e5f4ec333d0380264d968c0d0cbf
Show temperature instead of power now the sensor is fitted.

diff -r 57ffb39f29d4 -r 594ba407689b OverviewJD.qml
--- a/OverviewJD.qml	Mon Dec 13 23:05:38 2021 +1030
+++ b/OverviewJD.qml	Tue Dec 21 15:24:31 2021 +1030
@@ -201,7 +201,8 @@
 				}
 			},
 			TileText {
-				text: sys.battery.power.absFormat(0)
+				property VBusItem battTemp: VBusItem { bind: Utils.path("com.victronenergy.system", "/Dc/Battery/Temperature"); unit: "C" }
+				text: battTemp.format(1)
 			},
 			TileText {
 				text: sys.battery.voltage.format(1) + "   " + sys.battery.current.format(1)