Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Jan 27, 2025
1 parent aae03a0 commit 6066797
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/dwd_weather/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ async def async_step_init(self, user_input: dict[str] | None = None) -> FlowResu
{
vol.Required(
CONF_DATA_TYPE,
default=self.config_entry.data["data_type"],
default=self.config_entry.data[CONF_DATA_TYPE],
): SelectSelector(
{
"options": list(
Expand All @@ -602,7 +602,7 @@ async def async_step_init(self, user_input: dict[str] | None = None) -> FlowResu
),
vol.Required(
CONF_WIND_DIRECTION_TYPE,
default=self.config_entry.data["wind_direction_type"],
default=self.config_entry.data[CONF_WIND_DIRECTION_TYPE],
): SelectSelector(
{
"options": list(["degrees", "direction"]),
Expand All @@ -613,16 +613,16 @@ async def async_step_init(self, user_input: dict[str] | None = None) -> FlowResu
),
vol.Required(
CONF_INTERPOLATE,
default=self.config_entry.data["interpolate"],
default=self.config_entry.data[CONF_INTERPOLATE],
): BooleanSelector({}),
vol.Required(
CONF_HOURLY_UPDATE,
default=self.config_entry.data["hourly_update"],
default=self.config_entry.data[CONF_HOURLY_UPDATE],
): BooleanSelector({}),
vol.Required(
CONF_ADDITIONAL_FORECAST_ATTRIBUTES,
default=self.config_entry.data[
"additional_forecast_attributes"
CONF_ADDITIONAL_FORECAST_ATTRIBUTES
],
): BooleanSelector({}),
}
Expand Down

0 comments on commit 6066797

Please sign in to comment.