From 6afb60d31b48695c92a7015e1e6d5b80157cb976 Mon Sep 17 00:00:00 2001 From: Tsvi Mostovicz Date: Mon, 19 May 2025 22:52:06 +0300 Subject: [PATCH] Jewish Calendar - quality scale - use specific config flow (#144408) --- .../components/jewish_calendar/config_flow.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/jewish_calendar/config_flow.py b/homeassistant/components/jewish_calendar/config_flow.py index 4572f87a113..e896bc90c9e 100644 --- a/homeassistant/components/jewish_calendar/config_flow.py +++ b/homeassistant/components/jewish_calendar/config_flow.py @@ -9,12 +9,7 @@ import zoneinfo from hdate.translator import Language import voluptuous as vol -from homeassistant.config_entries import ( - ConfigEntry, - ConfigFlow, - ConfigFlowResult, - OptionsFlow, -) +from homeassistant.config_entries import ConfigFlow, ConfigFlowResult, OptionsFlow from homeassistant.const import ( CONF_ELEVATION, CONF_LANGUAGE, @@ -44,6 +39,7 @@ from .const import ( DEFAULT_NAME, DOMAIN, ) +from .entity import JewishCalendarConfigEntry OPTIONS_SCHEMA = vol.Schema( { @@ -89,7 +85,7 @@ class JewishCalendarConfigFlow(ConfigFlow, domain=DOMAIN): @staticmethod @callback def async_get_options_flow( - config_entry: ConfigEntry, + config_entry: JewishCalendarConfigEntry, ) -> JewishCalendarOptionsFlowHandler: """Get the options flow for this handler.""" return JewishCalendarOptionsFlowHandler()