Răsfoiți Sursa

Update codes folder structure

Vassilis Panos 7 ani în urmă
părinte
comite
1872f4c0c6
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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:
         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)

+ 1 - 1
smartir/fan.py

@@ -56,7 +56,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/fan/{}.json")
                             "codes/fan/{}.json")
 
 
             Helper.downloader(codes_source.format(device_code), device_json_path)
             Helper.downloader(codes_source.format(device_code), device_json_path)