Remove unused and potentially confusing property
parent
73e3ce5044
commit
aff1c27372
|
@ -144,12 +144,6 @@ class Sun(Entity):
|
|||
self._state = self.next_rising = self.next_setting = None
|
||||
track_utc_time_change(hass, self.timer_update, second=30)
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
""" We trigger updates ourselves after sunset/sunrise,
|
||||
but sun angle requires poll """
|
||||
return True
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return "Sun"
|
||||
|
|
Loading…
Reference in New Issue