Skip to content

Commit

Permalink
Poll filter change sensor
Browse files Browse the repository at this point in the history
otherwise it won't be updated
  • Loading branch information
asev authored Mar 17, 2020
1 parent 5ea7b0a commit 0a0e18f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions custom_components/helios/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ def __init__(self, name, date_to):
self._date_to = date_to
self._name = name

@property
def should_poll(self):
return False

@property
def name(self):
return self._name
Expand All @@ -140,4 +136,4 @@ def state(self):

@property
def unit_of_measurement(self):
return 'days'
return 'days'

0 comments on commit 0a0e18f

Please sign in to comment.