mirror of
https://github.com/home-assistant/core.git
synced 2025-08-30 09:51:37 +02:00
Change manufacturer name AVM to FRITZ! in FRITZ!Box Call Monitor integration (#151374)
This commit is contained in:
@@ -35,7 +35,7 @@ async def async_setup_entry(
|
|||||||
except FritzSecurityError as ex:
|
except FritzSecurityError as ex:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
(
|
(
|
||||||
"User has insufficient permissions to access AVM FRITZ!Box settings and"
|
"User has insufficient permissions to access FRITZ!Box settings and"
|
||||||
" its phonebooks: %s"
|
" its phonebooks: %s"
|
||||||
),
|
),
|
||||||
ex,
|
ex,
|
||||||
@@ -44,7 +44,7 @@ async def async_setup_entry(
|
|||||||
except FritzConnectionException as ex:
|
except FritzConnectionException as ex:
|
||||||
raise ConfigEntryAuthFailed from ex
|
raise ConfigEntryAuthFailed from ex
|
||||||
except RequestsConnectionError as ex:
|
except RequestsConnectionError as ex:
|
||||||
_LOGGER.error("Unable to connect to AVM FRITZ!Box call monitor: %s", ex)
|
_LOGGER.error("Unable to connect to FRITZ!Box call monitor: %s", ex)
|
||||||
raise ConfigEntryNotReady from ex
|
raise ConfigEntryNotReady from ex
|
||||||
|
|
||||||
config_entry.runtime_data = fritzbox_phonebook
|
config_entry.runtime_data = fritzbox_phonebook
|
||||||
|
@@ -35,6 +35,6 @@ DEFAULT_PHONEBOOK = 0
|
|||||||
DEFAULT_NAME = "Phone"
|
DEFAULT_NAME = "Phone"
|
||||||
|
|
||||||
DOMAIN: Final = "fritzbox_callmonitor"
|
DOMAIN: Final = "fritzbox_callmonitor"
|
||||||
MANUFACTURER: Final = "AVM"
|
MANUFACTURER: Final = "FRITZ!"
|
||||||
|
|
||||||
PLATFORMS = [Platform.SENSOR]
|
PLATFORMS = [Platform.SENSOR]
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"domain": "fritzbox_callmonitor",
|
"domain": "fritzbox_callmonitor",
|
||||||
"name": "AVM FRITZ!Box Call Monitor",
|
"name": "FRITZ!Box Call Monitor",
|
||||||
"codeowners": ["@cdce8p"],
|
"codeowners": ["@cdce8p"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/fritzbox_callmonitor",
|
"documentation": "https://www.home-assistant.io/integrations/fritzbox_callmonitor",
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
"abort": {
|
"abort": {
|
||||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
||||||
"no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]",
|
"no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]",
|
||||||
"insufficient_permissions": "User has insufficient permissions to access AVM FRITZ!Box settings and its phonebooks.",
|
"insufficient_permissions": "User has insufficient permissions to access FRITZ!Box settings and its phonebooks.",
|
||||||
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
@@ -2163,7 +2163,7 @@
|
|||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"name": "AVM FRITZ!Box Call Monitor"
|
"name": "FRITZ!Box Call Monitor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user