diff --git a/custom_components/bbox/config_flow.py b/custom_components/bbox/config_flow.py index 55d5554..fe67eb0 100644 --- a/custom_components/bbox/config_flow.py +++ b/custom_components/bbox/config_flow.py @@ -60,7 +60,6 @@ async def async_step_user( api = Bbox( hostname=user_input[CONF_HOST], password=user_input[CONF_PASSWORD], - session=async_create_clientsession(self.hass), use_tls=user_input[CONF_USE_TLS], verify_ssl=user_input[CONF_VERIFY_SSL], ) diff --git a/custom_components/bbox/coordinator.py b/custom_components/bbox/coordinator.py index 9704c5c..3312ff1 100644 --- a/custom_components/bbox/coordinator.py +++ b/custom_components/bbox/coordinator.py @@ -44,7 +44,6 @@ async def _async_setup(self) -> None: self.bbox = Bbox( password=self.entry.data[CONF_PASSWORD], hostname=self.entry.data[CONF_HOST], - session=async_create_clientsession(self.hass), use_tls=self.entry.data.get(CONF_USE_TLS, False), verify_ssl=self.entry.data.get(CONF_VERIFY_SSL, False), )