Skip to content

Commit

Permalink
Fix for Error in LOG-File #156
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Dec 22, 2024
1 parent 4b457a9 commit b2654c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion custom_components/dwd_weather/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
import PIL.ImageFont
from markdownify import markdownify
from homeassistant.config_entries import ConfigEntry
from suntimes import SunTimes
from io import BytesIO
import warnings

with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=SyntaxWarning)
from suntimes import SunTimes

from homeassistant.components.weather import (
ATTR_FORECAST_CONDITION,
Expand Down

0 comments on commit b2654c2

Please sign in to comment.