mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Fixed Rangefilter constructor call
This commit is contained in:
parent
8061f15aec
commit
33990badcd
@ -136,8 +136,7 @@ class TestFilterSensor(unittest.TestCase):
|
|||||||
"""Test if range filter works."""
|
"""Test if range filter works."""
|
||||||
lower = 10
|
lower = 10
|
||||||
upper = 20
|
upper = 20
|
||||||
filt = RangeFilter(1, None,
|
filt = RangeFilter(entity=None,
|
||||||
entity=None,
|
|
||||||
lower_bound=lower,
|
lower_bound=lower,
|
||||||
upper_bound=upper)
|
upper_bound=upper)
|
||||||
for unf_state in self.values:
|
for unf_state in self.values:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user