|
@@ -68,7 +68,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/smartir/"
|
|
|
|
|
|
|
+ "smartHomeHub/SmartIR/master/"
|
|
|
"codes/climate/{}.json")
|
|
"codes/climate/{}.json")
|
|
|
|
|
|
|
|
Helper.downloader(codes_source.format(device_code), device_json_path)
|
|
Helper.downloader(codes_source.format(device_code), device_json_path)
|