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'
|
VERSION = '1.18.1'
|
||||||
MANIFEST_URL = (
|
MANIFEST_URL = (
|
||||||
"https://raw.githubusercontent.com/"
|
"https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/{}/"
|
"kobimx/SmartIR/{}/"
|
||||||
"custom_components/smartir/manifest.json")
|
"custom_components/smartir/manifest.json")
|
||||||
REMOTE_BASE_URL = (
|
REMOTE_BASE_URL = (
|
||||||
"https://raw.githubusercontent.com/"
|
"https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/{}/"
|
"kobimx/SmartIR/{}/"
|
||||||
"custom_components/smartir/")
|
"custom_components/smartir/")
|
||||||
COMPONENT_ABS_DIR = os.path.dirname(
|
COMPONENT_ABS_DIR = os.path.dirname(
|
||||||
os.path.abspath(__file__))
|
os.path.abspath(__file__))
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
codes_source = ("https://raw.githubusercontent.com/"
|
codes_source = ("https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/master/"
|
"kobimx/SmartIR/master/"
|
||||||
"codes/climate/{}.json")
|
"codes/climate/{}.json")
|
||||||
|
|
||||||
await Helper.downloader(codes_source.format(device_code), device_json_path)
|
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):
|
if not os.path.exists(path):
|
||||||
source = (
|
source = (
|
||||||
"https://raw.githubusercontent.com/"
|
"https://raw.githubusercontent.com/"
|
||||||
f"smartHomeHub/SmartIR/master/codes/{subdir}/{device_code}.json"
|
f"kobimx/SmartIR/master/codes/{subdir}/{device_code}.json"
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
await Helper.downloader(source, path)
|
await Helper.downloader(source, path)
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
codes_source = ("https://raw.githubusercontent.com/"
|
codes_source = ("https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/master/"
|
"kobimx/SmartIR/master/"
|
||||||
"codes/fan/{}.json")
|
"codes/fan/{}.json")
|
||||||
|
|
||||||
await Helper.downloader(codes_source.format(device_code), device_json_path)
|
await Helper.downloader(codes_source.format(device_code), device_json_path)
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ async def async_setup_platform(
|
|||||||
try:
|
try:
|
||||||
codes_source = (
|
codes_source = (
|
||||||
"https://raw.githubusercontent.com/"
|
"https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/master/"
|
"kobimx/SmartIR/master/"
|
||||||
"codes/light/{}.json"
|
"codes/light/{}.json"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"domain": "smartir",
|
"domain": "smartir",
|
||||||
"name": "SmartIR",
|
"name": "SmartIR",
|
||||||
"documentation": "https://github.com/smartHomeHub/SmartIR",
|
"documentation": "https://github.com/kobimx/SmartIR",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": ["@smartHomeHub"],
|
"codeowners": ["@kobimx"],
|
||||||
"requirements": ["aiofiles>=0.6.0"],
|
"requirements": ["aiofiles>=0.6.0"],
|
||||||
"homeassistant": "2025.5.0",
|
"homeassistant": "2025.5.0",
|
||||||
"version": "1.18.1",
|
"version": "1.18.1",
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
codes_source = ("https://raw.githubusercontent.com/"
|
codes_source = ("https://raw.githubusercontent.com/"
|
||||||
"smartHomeHub/SmartIR/master/"
|
"kobimx/SmartIR/master/"
|
||||||
"codes/media_player/{}.json")
|
"codes/media_player/{}.json")
|
||||||
|
|
||||||
await Helper.downloader(codes_source.format(device_code), device_json_path)
|
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
|
> ### ⚠️ Warning
|
||||||
> You are free to fork, modify, and use the code in this repository in accordance with the applicable open-source license.
|
> 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