Fix required settings for weather
This commit is contained in:
parent
35bc1a626e
commit
537d662691
@ -9,6 +9,8 @@ class Weather(IntervalModule):
|
|||||||
Available formatters:
|
Available formatters:
|
||||||
{current_temp}
|
{current_temp}
|
||||||
{humidity}
|
{humidity}
|
||||||
|
|
||||||
|
Requires pywapi from PyPI.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
interval = 20
|
interval = 20
|
||||||
@ -18,7 +20,7 @@ class Weather(IntervalModule):
|
|||||||
"units",
|
"units",
|
||||||
"format",
|
"format",
|
||||||
)
|
)
|
||||||
#required = ("location_code")
|
required = ("location_code",)
|
||||||
format = "{current_temp}"
|
format = "{current_temp}"
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user