mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
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:
parent
bf9b3bf9db
commit
d9dba1b7ab
@ -158,7 +158,7 @@ homeassistant/components/flunearyou/* @bachya
|
|||||||
homeassistant/components/forked_daapd/* @uvjustin
|
homeassistant/components/forked_daapd/* @uvjustin
|
||||||
homeassistant/components/fortios/* @kimfrellsen
|
homeassistant/components/fortios/* @kimfrellsen
|
||||||
homeassistant/components/foscam/* @skgsergio
|
homeassistant/components/foscam/* @skgsergio
|
||||||
homeassistant/components/freebox/* @snoof85 @Quentame
|
homeassistant/components/freebox/* @hacf-fr @Quentame
|
||||||
homeassistant/components/fronius/* @nielstron
|
homeassistant/components/fronius/* @nielstron
|
||||||
homeassistant/components/frontend/* @home-assistant/frontend
|
homeassistant/components/frontend/* @home-assistant/frontend
|
||||||
homeassistant/components/garmin_connect/* @cyberjunky
|
homeassistant/components/garmin_connect/* @cyberjunky
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"""Config flow to configure the Freebox integration."""
|
"""Config flow to configure the Freebox integration."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from aiofreepybox.exceptions import AuthorizationError, HttpRequestError
|
from freebox_api.exceptions import AuthorizationError, HttpRequestError
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "Freebox",
|
"name": "Freebox",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/freebox",
|
"documentation": "https://www.home-assistant.io/integrations/freebox",
|
||||||
"requirements": ["aiofreepybox==0.0.8"],
|
"requirements": ["freebox-api==0.0.9"],
|
||||||
"after_dependencies": ["discovery"],
|
"after_dependencies": ["discovery"],
|
||||||
"codeowners": ["@snoof85", "@Quentame"]
|
"codeowners": ["@hacf-fr", "@Quentame"]
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,9 @@ import logging
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Dict, List, Optional
|
from typing import Any, Dict, List, Optional
|
||||||
|
|
||||||
from aiofreepybox import Freepybox
|
from freebox_api import Freepybox
|
||||||
from aiofreepybox.api.wifi import Wifi
|
from freebox_api.api.wifi import Wifi
|
||||||
from aiofreepybox.exceptions import HttpRequestError
|
from freebox_api.exceptions import HttpRequestError
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.const import CONF_HOST, CONF_PORT
|
from homeassistant.const import CONF_HOST, CONF_PORT
|
||||||
@ -138,7 +138,7 @@ class FreeboxRouter:
|
|||||||
"serial": syst_datas["serial"],
|
"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)
|
async_dispatcher_send(self.hass, self.signal_sensor_update)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import logging
|
import logging
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
from aiofreepybox.exceptions import InsufficientPermissionsError
|
from freebox_api.exceptions import InsufficientPermissionsError
|
||||||
|
|
||||||
from homeassistant.components.switch import SwitchEntity
|
from homeassistant.components.switch import SwitchEntity
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
|
@ -156,9 +156,6 @@ aioesphomeapi==2.6.4
|
|||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==0.4.1
|
aioflo==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.freebox
|
|
||||||
aiofreepybox==0.0.8
|
|
||||||
|
|
||||||
# homeassistant.components.yi
|
# homeassistant.components.yi
|
||||||
aioftp==0.12.0
|
aioftp==0.12.0
|
||||||
|
|
||||||
@ -613,6 +610,9 @@ foobot_async==1.0.0
|
|||||||
# homeassistant.components.fortios
|
# homeassistant.components.fortios
|
||||||
fortiosapi==0.10.8
|
fortiosapi==0.10.8
|
||||||
|
|
||||||
|
# homeassistant.components.freebox
|
||||||
|
freebox-api==0.0.9
|
||||||
|
|
||||||
# homeassistant.components.free_mobile
|
# homeassistant.components.free_mobile
|
||||||
freesms==0.1.2
|
freesms==0.1.2
|
||||||
|
|
||||||
|
@ -93,9 +93,6 @@ aioesphomeapi==2.6.4
|
|||||||
# homeassistant.components.flo
|
# homeassistant.components.flo
|
||||||
aioflo==0.4.1
|
aioflo==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.freebox
|
|
||||||
aiofreepybox==0.0.8
|
|
||||||
|
|
||||||
# homeassistant.components.guardian
|
# homeassistant.components.guardian
|
||||||
aioguardian==1.0.4
|
aioguardian==1.0.4
|
||||||
|
|
||||||
@ -313,6 +310,9 @@ fnvhash==0.1.0
|
|||||||
# homeassistant.components.foobot
|
# homeassistant.components.foobot
|
||||||
foobot_async==1.0.0
|
foobot_async==1.0.0
|
||||||
|
|
||||||
|
# homeassistant.components.freebox
|
||||||
|
freebox-api==0.0.9
|
||||||
|
|
||||||
# homeassistant.components.fritz
|
# homeassistant.components.fritz
|
||||||
# homeassistant.components.fritzbox_callmonitor
|
# homeassistant.components.fritzbox_callmonitor
|
||||||
# homeassistant.components.fritzbox_netmonitor
|
# homeassistant.components.fritzbox_netmonitor
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"""Tests for the Freebox config flow."""
|
"""Tests for the Freebox config flow."""
|
||||||
from unittest.mock import AsyncMock, patch
|
from unittest.mock import AsyncMock, patch
|
||||||
|
|
||||||
from aiofreepybox.exceptions import (
|
from freebox_api.exceptions import (
|
||||||
AuthorizationError,
|
AuthorizationError,
|
||||||
HttpRequestError,
|
HttpRequestError,
|
||||||
InvalidTokenError,
|
InvalidTokenError,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user