Skip to content

Commit

Permalink
Added toStringPretty()
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanOltmann committed May 11, 2024
1 parent 4c73f1c commit 77d21b7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/de/stefan_oltmann/smarthome/vallox/ValloxStatus.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit 77d21b7

Please sign in to comment.