From e3a5705a3eeab062552a5653fb0c2353c9945042 Mon Sep 17 00:00:00 2001 From: cyr-ius Date: Fri, 25 Aug 2023 13:51:23 +0200 Subject: [PATCH] Rename domain --- custom_components/bbox2/const.py | 2 +- custom_components/bbox2/entity.py | 2 +- custom_components/bbox2/manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/bbox2/const.py b/custom_components/bbox2/const.py index 662c236..902e827 100644 --- a/custom_components/bbox2/const.py +++ b/custom_components/bbox2/const.py @@ -1,6 +1,6 @@ """Constants for the Bouygues Bbox integration.""" -DOMAIN = "bbox2" +DOMAIN = "bbox" BBOX_URL = "mabbox.bytel.fr" CONF_PASSWORD = "password" CONF_HOST = "host" diff --git a/custom_components/bbox2/entity.py b/custom_components/bbox2/entity.py index 8831548..62005bb 100644 --- a/custom_components/bbox2/entity.py +++ b/custom_components/bbox2/entity.py @@ -30,7 +30,7 @@ def __init__(self, coordinator: BboxDataUpdateCoordinator, description) -> None: # "connections": { # ( # CONNECTION_NETWORK_MAC, - # finditem(coordinator.data, "device_info.hosts.macaddress"), + # finditem(coordinator.data, "device_info.hosts.macaddress", "01:02:03:04:05:06"), # ) # }, "manufacturer": MANUFACTURER, diff --git a/custom_components/bbox2/manifest.json b/custom_components/bbox2/manifest.json index f141a0e..5cac009 100644 --- a/custom_components/bbox2/manifest.json +++ b/custom_components/bbox2/manifest.json @@ -1,5 +1,5 @@ { - "domain": "bbox2", + "domain": "bbox", "name": "Bouygues Bbox", "codeowners": ["@cyr-ius"], "config_flow": true,