File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
custom_components/connectlife Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,9 @@ class InvalidAuth(HomeAssistantError):
9595class OptionsFlowHandler (OptionsFlow ):
9696 """Handles options flow for the component."""
9797
98- async def async_step_init (self , user_input = None ):
98+ _device_id : str | None = None
99+
100+ async def async_step_init (self , user_input = None ) -> ConfigFlowResult :
99101 return self .async_show_menu (
100102 step_id = "init" ,
101103 menu_options = ["select_device" , "development" ],
Original file line number Diff line number Diff line change 1010 SensorEntityDescription ,
1111)
1212from homeassistant .config_entries import ConfigEntry
13- from homeassistant .const import Platform , EntityCategory
13+ from homeassistant .const import Platform
1414from homeassistant .core import HomeAssistant , callback
1515from homeassistant .exceptions import ServiceValidationError
1616from homeassistant .helpers .entity_platform import AddEntitiesCallback
17- from homeassistant .helpers import config_validation as cv , entity_platform , service
17+ from homeassistant .helpers import config_validation as cv , entity_platform
1818
1919from .const import DOMAIN
2020from .coordinator import ConnectLifeCoordinator
Original file line number Diff line number Diff line change 1- import json
21import pprint
32from os import listdir
43from os .path import isfile , join
You can’t perform that action at this time.
0 commit comments