Less bonkers default ambient temperature
This commit is contained in:
parent
136fe6de63
commit
83100a679c
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ class AmbientTemp(TextGauge):
|
||||||
def __init__(self, x: float, y: float, align: Align):
|
def __init__(self, x: float, y: float, align: Align):
|
||||||
super().__init__(x, y, -100, 100, align)
|
super().__init__(x, y, -100, 100, align)
|
||||||
|
|
||||||
|
self.value = 0
|
||||||
|
|
||||||
def format_text(self):
|
def format_text(self):
|
||||||
return "%.1f°C" % self.value
|
return "%.1f°C" % self.value
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue