mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Slight style change
This commit is contained in:
parent
cec62bdf87
commit
91a945f4c7
@ -85,8 +85,7 @@ def if_action(hass, config):
|
|||||||
def if_numeric_state():
|
def if_numeric_state():
|
||||||
""" Test numeric state condition. """
|
""" Test numeric state condition. """
|
||||||
state = hass.states.get(entity_id)
|
state = hass.states.get(entity_id)
|
||||||
return state is not None and _in_range(state, above, below,
|
return state is not None and _in_range(state, above, below, renderer)
|
||||||
renderer)
|
|
||||||
|
|
||||||
return if_numeric_state
|
return if_numeric_state
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user