Slight style change

pull/745/head
Philip Lundrigan 2015-12-14 15:01:38 -07:00
parent cec62bdf87
commit 91a945f4c7
1 changed files with 1 additions and 2 deletions

View File

@ -85,8 +85,7 @@ def if_action(hass, config):
def if_numeric_state():
""" Test numeric state condition. """
state = hass.states.get(entity_id)
return state is not None and _in_range(state, above, below,
renderer)
return state is not None and _in_range(state, above, below, renderer)
return if_numeric_state