Commit 1872f4c0 authored by Vassilis Panos's avatar Vassilis Panos
Browse files

Update codes folder structure

parent c7dd5af3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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)