Vassilis Panos 7 лет назад
Родитель
Сommit
1872f4c0c6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      smartir/climate.py
  2. 1 1
      smartir/fan.py

+ 1 - 1
smartir/climate.py

@@ -68,7 +68,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
 
         try:
             codes_source = ("https://raw.githubusercontent.com/"
-                            "smartHomeHub/SmartIR/master/smartir/"
+                            "smartHomeHub/SmartIR/master/"
                             "codes/climate/{}.json")
 
             Helper.downloader(codes_source.format(device_code), device_json_path)

+ 1 - 1
smartir/fan.py

@@ -56,7 +56,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
 
         try:
             codes_source = ("https://raw.githubusercontent.com/"
-                            "smartHomeHub/SmartIR/master/smartir/"
+                            "smartHomeHub/SmartIR/master/"
                             "codes/fan/{}.json")
 
             Helper.downloader(codes_source.format(device_code), device_json_path)