From 6420ab5535a3edc38ee2e839b9bc4d295297d647 Mon Sep 17 00:00:00 2001 From: nielstron Date: Tue, 3 Jul 2018 11:06:10 +0200 Subject: [PATCH] Remove default none from filter sensor --- homeassistant/components/sensor/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/filter.py b/homeassistant/components/sensor/filter.py index bc0764f3a35..261f6e2b510 100644 --- a/homeassistant/components/sensor/filter.py +++ b/homeassistant/components/sensor/filter.py @@ -348,7 +348,7 @@ class RangeFilter(Filter): """ def __init__(self, entity, - lower_bound=None, upper_bound=None): + lower_bound, upper_bound): """Initialize Filter.""" super().__init__(FILTER_NAME_RANGE, entity=entity) self._lower_bound = lower_bound