fix
This commit is contained in:
@@ -897,6 +897,7 @@ def step_to_string(step):
|
|||||||
try:
|
try:
|
||||||
valuehigh = step['targetValueHigh']
|
valuehigh = step['targetValueHigh']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
valuehigh = 0
|
||||||
|
|
||||||
if value < 10 and value>0:
|
if value < 10 and value>0:
|
||||||
target = 'Target: Power in zone {v}'.format(v=value)
|
target = 'Target: Power in zone {v}'.format(v=value)
|
||||||
|
|||||||
Reference in New Issue
Block a user