Skip to content

Commit

Permalink
style: fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
IATkachenko committed Jan 6, 2024
1 parent e901e85 commit b4b021a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/yandex_weather/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ async def async_added_to_hass(self) -> None:

def _handle_coordinator_update(self) -> None:
self._attr_available = True
self.update_condition_and_fire_event(new_condition=self.coordinator.data.get(ATTR_API_CONDITION))
self.update_condition_and_fire_event(
new_condition=self.coordinator.data.get(ATTR_API_CONDITION)
)
self._attr_entity_picture = get_image(
image_source=self._image_source,
condition=self.coordinator.data.get(ATTR_API_ORIGINAL_CONDITION),
Expand Down

0 comments on commit b4b021a

Please sign in to comment.