Bump Freebox to 0.0.9 (#45837)

* Bump Freebox to 0.0.9

* Remove @SNoof85 from code owners

* Module is now freebox_api
This commit is contained in:
Quentame
2021-02-02 22:57:06 +01:00
committed by GitHub
parent bf9b3bf9db
commit d9dba1b7ab
8 changed files with 16 additions and 16 deletions

View File

@ -158,7 +158,7 @@ homeassistant/components/flunearyou/* @bachya
homeassistant/components/forked_daapd/* @uvjustin
homeassistant/components/fortios/* @kimfrellsen
homeassistant/components/foscam/* @skgsergio
homeassistant/components/freebox/* @snoof85 @Quentame
homeassistant/components/freebox/* @hacf-fr @Quentame
homeassistant/components/fronius/* @nielstron
homeassistant/components/frontend/* @home-assistant/frontend
homeassistant/components/garmin_connect/* @cyberjunky

View File

@ -1,7 +1,7 @@
"""Config flow to configure the Freebox integration."""
import logging
from aiofreepybox.exceptions import AuthorizationError, HttpRequestError
from freebox_api.exceptions import AuthorizationError, HttpRequestError
import voluptuous as vol
from homeassistant import config_entries

View File

@ -3,7 +3,7 @@
"name": "Freebox",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/freebox",
"requirements": ["aiofreepybox==0.0.8"],
"requirements": ["freebox-api==0.0.9"],
"after_dependencies": ["discovery"],
"codeowners": ["@snoof85", "@Quentame"]
"codeowners": ["@hacf-fr", "@Quentame"]
}

View File

@ -4,9 +4,9 @@ import logging
from pathlib import Path
from typing import Any, Dict, List, Optional
from aiofreepybox import Freepybox
from aiofreepybox.api.wifi import Wifi
from aiofreepybox.exceptions import HttpRequestError
from freebox_api import Freepybox
from freebox_api.api.wifi import Wifi
from freebox_api.exceptions import HttpRequestError
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_HOST, CONF_PORT
@ -138,7 +138,7 @@ class FreeboxRouter:
"serial": syst_datas["serial"],
}
self.call_list = await self._api.call.get_call_list()
self.call_list = await self._api.call.get_calls_log()
async_dispatcher_send(self.hass, self.signal_sensor_update)

View File

@ -2,7 +2,7 @@
import logging
from typing import Dict
from aiofreepybox.exceptions import InsufficientPermissionsError
from freebox_api.exceptions import InsufficientPermissionsError
from homeassistant.components.switch import SwitchEntity
from homeassistant.config_entries import ConfigEntry

View File

@ -156,9 +156,6 @@ aioesphomeapi==2.6.4
# homeassistant.components.flo
aioflo==0.4.1
# homeassistant.components.freebox
aiofreepybox==0.0.8
# homeassistant.components.yi
aioftp==0.12.0
@ -613,6 +610,9 @@ foobot_async==1.0.0
# homeassistant.components.fortios
fortiosapi==0.10.8
# homeassistant.components.freebox
freebox-api==0.0.9
# homeassistant.components.free_mobile
freesms==0.1.2

View File

@ -93,9 +93,6 @@ aioesphomeapi==2.6.4
# homeassistant.components.flo
aioflo==0.4.1
# homeassistant.components.freebox
aiofreepybox==0.0.8
# homeassistant.components.guardian
aioguardian==1.0.4
@ -313,6 +310,9 @@ fnvhash==0.1.0
# homeassistant.components.foobot
foobot_async==1.0.0
# homeassistant.components.freebox
freebox-api==0.0.9
# homeassistant.components.fritz
# homeassistant.components.fritzbox_callmonitor
# homeassistant.components.fritzbox_netmonitor

View File

@ -1,7 +1,7 @@
"""Tests for the Freebox config flow."""
from unittest.mock import AsyncMock, patch
from aiofreepybox.exceptions import (
from freebox_api.exceptions import (
AuthorizationError,
HttpRequestError,
InvalidTokenError,