diff --git a/custom_components/smartir/__init__.py b/custom_components/smartir/__init__.py index 134315d..ba53365 100644 --- a/custom_components/smartir/__init__.py +++ b/custom_components/smartir/__init__.py @@ -22,11 +22,11 @@ DOMAIN = 'smartir' VERSION = '1.18.1' MANIFEST_URL = ( "https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/{}/" + "kobimx/SmartIR/{}/" "custom_components/smartir/manifest.json") REMOTE_BASE_URL = ( "https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/{}/" + "kobimx/SmartIR/{}/" "custom_components/smartir/") COMPONENT_ABS_DIR = os.path.dirname( os.path.abspath(__file__)) diff --git a/custom_components/smartir/climate.py b/custom_components/smartir/climate.py index 9258a30..258eabd 100644 --- a/custom_components/smartir/climate.py +++ b/custom_components/smartir/climate.py @@ -80,7 +80,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info= try: codes_source = ("https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/master/" + "kobimx/SmartIR/master/" "codes/climate/{}.json") await Helper.downloader(codes_source.format(device_code), device_json_path) diff --git a/custom_components/smartir/config_flow.py b/custom_components/smartir/config_flow.py index 464bd2e..1f9c6c0 100644 --- a/custom_components/smartir/config_flow.py +++ b/custom_components/smartir/config_flow.py @@ -63,7 +63,7 @@ async def _load_device_json(platform: str, device_code: int) -> dict | None: if not os.path.exists(path): source = ( "https://raw.githubusercontent.com/" - f"smartHomeHub/SmartIR/master/codes/{subdir}/{device_code}.json" + f"kobimx/SmartIR/master/codes/{subdir}/{device_code}.json" ) try: await Helper.downloader(source, path) diff --git a/custom_components/smartir/fan.py b/custom_components/smartir/fan.py index 3762710..0a81494 100644 --- a/custom_components/smartir/fan.py +++ b/custom_components/smartir/fan.py @@ -71,7 +71,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info= try: codes_source = ("https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/master/" + "kobimx/SmartIR/master/" "codes/fan/{}.json") await Helper.downloader(codes_source.format(device_code), device_json_path) diff --git a/custom_components/smartir/light.py b/custom_components/smartir/light.py index 0721087..c7e767e 100644 --- a/custom_components/smartir/light.py +++ b/custom_components/smartir/light.py @@ -90,7 +90,7 @@ async def async_setup_platform( try: codes_source = ( "https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/master/" + "kobimx/SmartIR/master/" "codes/light/{}.json" ) diff --git a/custom_components/smartir/manifest.json b/custom_components/smartir/manifest.json index 285699e..8dd1d11 100644 --- a/custom_components/smartir/manifest.json +++ b/custom_components/smartir/manifest.json @@ -1,9 +1,9 @@ { "domain": "smartir", "name": "SmartIR", - "documentation": "https://github.com/smartHomeHub/SmartIR", + "documentation": "https://github.com/kobimx/SmartIR", "dependencies": [], - "codeowners": ["@smartHomeHub"], + "codeowners": ["@kobimx"], "requirements": ["aiofiles>=0.6.0"], "homeassistant": "2025.5.0", "version": "1.18.1", diff --git a/custom_components/smartir/media_player.py b/custom_components/smartir/media_player.py index 81f6b07..41b5589 100644 --- a/custom_components/smartir/media_player.py +++ b/custom_components/smartir/media_player.py @@ -69,7 +69,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info= try: codes_source = ("https://raw.githubusercontent.com/" - "smartHomeHub/SmartIR/master/" + "kobimx/SmartIR/master/" "codes/media_player/{}.json") await Helper.downloader(codes_source.format(device_code), device_json_path) diff --git a/docs/README.md b/docs/README.md index ec810a7..efbdef4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -[![](https://img.shields.io/github/v/release/smartHomeHub/SmartIR.svg?style=flat-square)](https://github.com/smartHomeHub/SmartIR/releases/latest) [![](https://img.shields.io/badge/HACS-Custom-orange.svg?style=flat-square)](https://github.com/custom-components/hacs) +[![](https://img.shields.io/github/v/release/kobimx/SmartIR.svg?style=flat-square)](https://github.com/kobimx/SmartIR/releases/latest) [![](https://img.shields.io/badge/HACS-Custom-orange.svg?style=flat-square)](https://github.com/custom-components/hacs) > ### ⚠️ Warning > You are free to fork, modify, and use the code in this repository in accordance with the applicable open-source license.