Skip to content

Commit

Permalink
Removes typing
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Jun 23, 2023
1 parent b960d8c commit ba6d53e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__pycache__
.vscode
.vscode
homeassistant
simple_dwd_weatherforecast
13 changes: 6 additions & 7 deletions custom_components/dwd_weather/const.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
"""Constants for the DWD Weather integration."""
from datetime import timedelta
from typing import Final

from homeassistant.const import Platform

DOMAIN: Final = "dwd_weather"
DOMAIN = "dwd_weather"
# Platforms
PLATFORMS: Final = [
PLATFORMS = [
Platform.SENSOR,
Platform.WEATHER,
]
INTEGRATION_VERSION: Final = "1.2.28"
MIN_REQUIRED_HA_VERSION: Final = "2022.7.1"
INTEGRATION_VERSION = "1.2.28"
MIN_REQUIRED_HA_VERSION = "2022.7.1"

DEFAULT_NAME: Final = "DWD Weather"
ATTRIBUTION: Final = "Data provided by Deutscher Wetterdienst (DWD)"
DEFAULT_NAME = "DWD Weather"
ATTRIBUTION = "Data provided by Deutscher Wetterdienst (DWD)"
ATTR_LATEST_UPDATE = "latest_update_utc"
ATTR_ISSUE_TIME = "forecast_time_utc"
ATTR_STATION_ID = "station_id"
Expand Down

0 comments on commit ba6d53e

Please sign in to comment.