Set temperature rounding.

This commit is contained in:
Michael Teeuw
2017-10-18 12:19:02 +02:00
parent ec2169e079
commit 241ff5cb6e
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
</div>
<div class="large light">
<span class="wi weathericon wi-{{current.weatherType}}"></span>
<span class="bright"> {{current.temperature | round(1)}}°</span></div> <!-- should show in correct number of decimals -->
<span class="bright"> {{current.temperature | round(0 if config.roundTemp else 1)}}°</span></div>
</div>
{% endif %}