diff --git a/homeassistant/components/sun/__init__.py b/homeassistant/components/sun/__init__.py index c4692598447..fe89413f4d5 100644 --- a/homeassistant/components/sun/__init__.py +++ b/homeassistant/components/sun/__init__.py @@ -100,7 +100,10 @@ class Sun(Entity): self._next_change = None def update_location(_event): - self.location = get_astral_location(self.hass) + location = get_astral_location(self.hass) + if location == self.location: + return + self.location = location self.update_events(dt_util.utcnow()) update_location(None)