diff --git a/.devcontainer.json b/.devcontainer.json index 8b7911b..1790fab 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,5 +1,5 @@ { - "name": "open_epaper_link_homeassistant", + "name": "opendisplay_homeassistant", "image": "mcr.microsoft.com/vscode/devcontainers/python:3.12-bullseye", "postCreateCommand": "scripts/setup", "forwardPorts": [ diff --git a/.gitignore b/.gitignore index c755151..2d635fd 100644 --- a/.gitignore +++ b/.gitignore @@ -164,7 +164,7 @@ lib64 # Home Assistant configuration config/ -custom_components/open_epaper_link/*.jpg -custom_components/open_epaper_link/lastapinteraction.txt +custom_components/opendisplay/*.jpg +custom_components/opendisplay/lastapinteraction.txt tests/drawcustom/test_images/rename_me.png diff --git a/.release-please-config.json b/.release-please-config.json index 8a2d91a..6885a12 100644 --- a/.release-please-config.json +++ b/.release-please-config.json @@ -6,7 +6,7 @@ "extra-files": [ { "type": "json", - "path": "custom_components/open_epaper_link/manifest.json", + "path": "custom_components/opendisplay/manifest.json", "jsonpath": "$.version" } ] diff --git a/custom_components/opendisplay/const.py b/custom_components/opendisplay/const.py index 024f11d..fbcb73f 100644 --- a/custom_components/opendisplay/const.py +++ b/custom_components/opendisplay/const.py @@ -2,5 +2,5 @@ SIGNAL_TAG_UPDATE = f"{DOMAIN}_tag_update" SIGNAL_TAG_IMAGE_UPDATE = f"{DOMAIN}_tag_image_update" SIGNAL_AP_UPDATE = f"{DOMAIN}_ap_update" -OEPL_CONFIG_URL = "https://config.openepaperlink.org/" +OPENDISPLAY_CONFIG_URL = "https://opendisplay.org/firmware/config/" ATC_CONFIG_URL = "https://atc1441.github.io/ATC_BLE_OEPL_Image_Upload.html" diff --git a/custom_components/opendisplay/entity.py b/custom_components/opendisplay/entity.py index 453b308..1fb122f 100644 --- a/custom_components/opendisplay/entity.py +++ b/custom_components/opendisplay/entity.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import DeviceInfo, Entity from .ble import BLEDeviceMetadata -from .const import DOMAIN, OEPL_CONFIG_URL, ATC_CONFIG_URL +from .const import DOMAIN, OPENDISPLAY_CONFIG_URL, ATC_CONFIG_URL from .tag_types import get_hw_string, get_hw_dimensions if TYPE_CHECKING: @@ -195,7 +195,7 @@ def device_info(self) -> DeviceInfo: } if metadata.is_open_display: - device_info["configuration_url"] = OEPL_CONFIG_URL + device_info["configuration_url"] = OPENDISPLAY_CONFIG_URL else: device_info["configuration_url"] = ATC_CONFIG_URL