mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove unused and potentially confusing property
This commit is contained in:
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…
x
Reference in New Issue
Block a user