From 77d21b7ac70491342d876418770ed1144e7cd9f2 Mon Sep 17 00:00:00 2001 From: Stefan Oltmann Date: Sat, 11 May 2024 14:19:59 +0200 Subject: [PATCH] Added toStringPretty() --- .../stefan_oltmann/smarthome/vallox/ValloxStatus.kt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/stefan_oltmann/smarthome/vallox/ValloxStatus.kt b/src/main/java/de/stefan_oltmann/smarthome/vallox/ValloxStatus.kt index b64ba9d..c879b45 100644 --- a/src/main/java/de/stefan_oltmann/smarthome/vallox/ValloxStatus.kt +++ b/src/main/java/de/stefan_oltmann/smarthome/vallox/ValloxStatus.kt @@ -77,7 +77,17 @@ data class ValloxStatus( ) { fun toStringPretty() = """ - # Vallox Status + ### + ### Vallox status + ### + Profile: $profile + Fan Speed: $fanSpeedPercentage % + + Temp inside: $tempInside °C + Temp outside: $tempOutside °C + Temp incoming: $tempIncoming °C (before heating: $tempIncomingBeforeHeating °C) + Temp exhausting: $tempExhaust °C + Humidity: $humidity % """.trimIndent() }