Commit 8fa8b561 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

Fhtagn!

parent ea39c79b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@ DOMAIN = 'smartir'
VERSION = '1.17.6'
MANIFEST_URL = (
    "https://raw.githubusercontent.com/"
    "smartHomeHub/SmartIR/{}/"
    "DmitriySafronov/SmartIR/{}/"
    "custom_components/smartir/manifest.json")
REMOTE_BASE_URL = (
    "https://raw.githubusercontent.com/"
    "smartHomeHub/SmartIR/{}/"
    "DmitriySafronov/SmartIR/{}/"
    "custom_components/smartir/")
COMPONENT_ABS_DIR = os.path.dirname(
    os.path.abspath(__file__))
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=

        try:
            codes_source = ("https://raw.githubusercontent.com/"
                            "smartHomeHub/SmartIR/master/"
                            "DmitriySafronov/SmartIR/master/"
                            "codes/climate/{}.json")

            await Helper.downloader(codes_source.format(device_code), device_json_path)
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=

        try:
            codes_source = ("https://raw.githubusercontent.com/"
                            "smartHomeHub/SmartIR/master/"
                            "DmitriySafronov/SmartIR/master/"
                            "codes/fan/{}.json")

            await Helper.downloader(codes_source.format(device_code), device_json_path)
+1 −1
Original line number Diff line number Diff line
{
  "domain": "smartir",
  "name": "SmartIR",
  "documentation": "https://github.com/smartHomeHub/SmartIR",
  "documentation": "https://github.com/DmitriySafronov/SmartIR",
  "dependencies": [],
  "codeowners": ["@smartHomeHub"],
  "requirements": ["aiofiles==0.6.0"],
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=

        try:
            codes_source = ("https://raw.githubusercontent.com/"
                            "smartHomeHub/SmartIR/master/"
                            "DmitriySafronov/SmartIR/master/"
                            "codes/media_player/{}.json")

            await Helper.downloader(codes_source.format(device_code), device_json_path)