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
|
self._state = self.next_rising = self.next_setting = None
|
||||||
track_utc_time_change(hass, self.timer_update, second=30)
|
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
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
return "Sun"
|
return "Sun"
|
||||||
|
|
Loading…
Reference in New Issue