fix: Update repository references from smartHomeHub to kobimx in various files
This commit is contained in:
@@ -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__))
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[](https://github.com/smartHomeHub/SmartIR/releases/latest) [](https://github.com/custom-components/hacs)
|
||||
[](https://github.com/kobimx/SmartIR/releases/latest) [](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.
|
||||
|
||||
Reference in New Issue
Block a user