mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Remove unused and potentially confusing property
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user