Fix bug reported by janoliver in #21
This commit is contained in:
parent
0d93f165b3
commit
5a5ea0e0c5
@ -17,10 +17,12 @@ class Weather(IntervalModule):
|
|||||||
|
|
||||||
settings = (
|
settings = (
|
||||||
"location_code",
|
"location_code",
|
||||||
"units",
|
("units", "*C*elsius or *F*ahrenheit"),
|
||||||
"format",
|
"format",
|
||||||
)
|
)
|
||||||
required = ("location_code",)
|
required = ("location_code",)
|
||||||
|
|
||||||
|
units = "C"
|
||||||
format = "{current_temp}"
|
format = "{current_temp}"
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user