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 Tools integration (#151371)
This commit is contained in:
@@ -151,7 +151,7 @@ class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|||||||
configuration_url=f"http://{self.host}",
|
configuration_url=f"http://{self.host}",
|
||||||
connections={(dr.CONNECTION_NETWORK_MAC, self.mac)},
|
connections={(dr.CONNECTION_NETWORK_MAC, self.mac)},
|
||||||
identifiers={(DOMAIN, self.unique_id)},
|
identifiers={(DOMAIN, self.unique_id)},
|
||||||
manufacturer="AVM",
|
manufacturer="FRITZ!",
|
||||||
model=self.model,
|
model=self.model,
|
||||||
name=self.config_entry.title,
|
name=self.config_entry.title,
|
||||||
sw_version=self.current_firmware,
|
sw_version=self.current_firmware,
|
||||||
@@ -471,7 +471,7 @@ class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|||||||
dr.async_get(self.hass).async_get_or_create(
|
dr.async_get(self.hass).async_get_or_create(
|
||||||
config_entry_id=self.config_entry.entry_id,
|
config_entry_id=self.config_entry.entry_id,
|
||||||
connections={(CONNECTION_NETWORK_MAC, dev_mac)},
|
connections={(CONNECTION_NETWORK_MAC, dev_mac)},
|
||||||
default_manufacturer="AVM",
|
default_manufacturer="FRITZ!",
|
||||||
default_model="FRITZ!Box Tracked device",
|
default_model="FRITZ!Box Tracked device",
|
||||||
default_name=device.hostname,
|
default_name=device.hostname,
|
||||||
via_device=(DOMAIN, self.unique_id),
|
via_device=(DOMAIN, self.unique_id),
|
||||||
|
@@ -125,7 +125,7 @@ class FritzBoxBaseCoordinatorEntity(CoordinatorEntity[AvmWrapper]):
|
|||||||
configuration_url=f"http://{self.coordinator.host}",
|
configuration_url=f"http://{self.coordinator.host}",
|
||||||
connections={(dr.CONNECTION_NETWORK_MAC, self.coordinator.mac)},
|
connections={(dr.CONNECTION_NETWORK_MAC, self.coordinator.mac)},
|
||||||
identifiers={(DOMAIN, self.coordinator.unique_id)},
|
identifiers={(DOMAIN, self.coordinator.unique_id)},
|
||||||
manufacturer="AVM",
|
manufacturer="FRITZ!",
|
||||||
model=self.coordinator.model,
|
model=self.coordinator.model,
|
||||||
name=self._device_name,
|
name=self._device_name,
|
||||||
sw_version=self.coordinator.current_firmware,
|
sw_version=self.coordinator.current_firmware,
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"domain": "fritz",
|
"domain": "fritz",
|
||||||
"name": "AVM FRITZ!Box Tools",
|
"name": "FRITZ!Box Tools",
|
||||||
"codeowners": ["@AaronDavidSchneider", "@chemelli74", "@mib1185"],
|
"codeowners": ["@AaronDavidSchneider", "@chemelli74", "@mib1185"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"dependencies": ["network"],
|
"dependencies": ["network"],
|
||||||
|
@@ -276,7 +276,7 @@ class FritzBoxBaseCoordinatorSwitch(CoordinatorEntity[AvmWrapper], SwitchEntity)
|
|||||||
configuration_url=f"http://{self.coordinator.host}",
|
configuration_url=f"http://{self.coordinator.host}",
|
||||||
connections={(CONNECTION_NETWORK_MAC, self.coordinator.mac)},
|
connections={(CONNECTION_NETWORK_MAC, self.coordinator.mac)},
|
||||||
identifiers={(DOMAIN, self.coordinator.unique_id)},
|
identifiers={(DOMAIN, self.coordinator.unique_id)},
|
||||||
manufacturer="AVM",
|
manufacturer="FRITZ!",
|
||||||
model=self.coordinator.model,
|
model=self.coordinator.model,
|
||||||
name=self._device_name,
|
name=self._device_name,
|
||||||
sw_version=self.coordinator.current_firmware,
|
sw_version=self.coordinator.current_firmware,
|
||||||
|
@@ -2151,7 +2151,7 @@
|
|||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"name": "AVM FRITZ!Box Tools"
|
"name": "FRITZ!Box Tools"
|
||||||
},
|
},
|
||||||
"fritzbox": {
|
"fritzbox": {
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
|
Reference in New Issue
Block a user