From 03a1e40b6e3e7e4a3f561f2b3e1c6f933a9bf063 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Mon, 6 Mar 2023 13:41:58 +0100 Subject: [PATCH] Rename repo --- README.md | 2 +- custom_components/{haier => hon}/__init__.py | 0 custom_components/{haier => hon}/binary_sensor.py | 0 custom_components/{haier => hon}/button.py | 0 custom_components/{haier => hon}/config_flow.py | 0 custom_components/{haier => hon}/const.py | 2 +- custom_components/{haier => hon}/hon.py | 0 custom_components/{haier => hon}/manifest.json | 7 ++++--- custom_components/{haier => hon}/number.py | 0 custom_components/{haier => hon}/select.py | 0 custom_components/{haier => hon}/sensor.py | 0 custom_components/{haier => hon}/switch.py | 0 custom_components/{haier => hon}/translations/en.json | 0 hacs.json | 2 +- 14 files changed, 7 insertions(+), 6 deletions(-) rename custom_components/{haier => hon}/__init__.py (100%) rename custom_components/{haier => hon}/binary_sensor.py (100%) rename custom_components/{haier => hon}/button.py (100%) rename custom_components/{haier => hon}/config_flow.py (100%) rename custom_components/{haier => hon}/const.py (86%) rename custom_components/{haier => hon}/hon.py (100%) rename custom_components/{haier => hon}/manifest.json (54%) rename custom_components/{haier => hon}/number.py (100%) rename custom_components/{haier => hon}/select.py (100%) rename custom_components/{haier => hon}/sensor.py (100%) rename custom_components/{haier => hon}/switch.py (100%) rename custom_components/{haier => hon}/translations/en.json (100%) diff --git a/README.md b/README.md index 3d24922..4ef6242 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Home Assistant component supporting hOn cloud. #### Installing via HACS 1. You need to have installed [HACS](https://hacs.xyz/) 2. Go to HACS->Integrations -3. Add this repo (`https://github.com/Andre0512/haier.git`) into your HACS custom repositories +3. Add this repo (`https://github.com/Andre0512/hon.git`) into your HACS custom repositories 4. Search for Haier hOn and Download it 5. Restart your HomeAssistant 6. Go to Settings->Devices & Services diff --git a/custom_components/haier/__init__.py b/custom_components/hon/__init__.py similarity index 100% rename from custom_components/haier/__init__.py rename to custom_components/hon/__init__.py diff --git a/custom_components/haier/binary_sensor.py b/custom_components/hon/binary_sensor.py similarity index 100% rename from custom_components/haier/binary_sensor.py rename to custom_components/hon/binary_sensor.py diff --git a/custom_components/haier/button.py b/custom_components/hon/button.py similarity index 100% rename from custom_components/haier/button.py rename to custom_components/hon/button.py diff --git a/custom_components/haier/config_flow.py b/custom_components/hon/config_flow.py similarity index 100% rename from custom_components/haier/config_flow.py rename to custom_components/hon/config_flow.py diff --git a/custom_components/haier/const.py b/custom_components/hon/const.py similarity index 86% rename from custom_components/haier/const.py rename to custom_components/hon/const.py index 6e99520..5dae56e 100644 --- a/custom_components/haier/const.py +++ b/custom_components/hon/const.py @@ -1,4 +1,4 @@ -DOMAIN = "haier" +DOMAIN = "hon" PLATFORMS = [ "sensor", diff --git a/custom_components/haier/hon.py b/custom_components/hon/hon.py similarity index 100% rename from custom_components/haier/hon.py rename to custom_components/hon/hon.py diff --git a/custom_components/haier/manifest.json b/custom_components/hon/manifest.json similarity index 54% rename from custom_components/haier/manifest.json rename to custom_components/hon/manifest.json index a0d3bd8..c396bc4 100644 --- a/custom_components/haier/manifest.json +++ b/custom_components/hon/manifest.json @@ -1,11 +1,12 @@ { - "domain": "haier", + "domain": "hon", "name": "Haier hOn", "codeowners": ["@Andre0512"], "config_flow": true, - "documentation": "https://github.com/Andre0512/haier/", + "documentation": "https://github.com/Andre0512/hon/", "iot_class": "cloud_polling", - "issue_tracker": "https://github.com/Andre0512/haier/issues", + "issue_tracker": "https://github.com/Andre0512/hon/issues", "requirements": ["pyhOn==0.2.4"], "version": "0.1.1" } + diff --git a/custom_components/haier/number.py b/custom_components/hon/number.py similarity index 100% rename from custom_components/haier/number.py rename to custom_components/hon/number.py diff --git a/custom_components/haier/select.py b/custom_components/hon/select.py similarity index 100% rename from custom_components/haier/select.py rename to custom_components/hon/select.py diff --git a/custom_components/haier/sensor.py b/custom_components/hon/sensor.py similarity index 100% rename from custom_components/haier/sensor.py rename to custom_components/hon/sensor.py diff --git a/custom_components/haier/switch.py b/custom_components/hon/switch.py similarity index 100% rename from custom_components/haier/switch.py rename to custom_components/hon/switch.py diff --git a/custom_components/haier/translations/en.json b/custom_components/hon/translations/en.json similarity index 100% rename from custom_components/haier/translations/en.json rename to custom_components/hon/translations/en.json diff --git a/hacs.json b/hacs.json index 02a4917..af7dd29 100644 --- a/hacs.json +++ b/hacs.json @@ -2,4 +2,4 @@ "name": "Haier hOn", "render_readme": true, "homeassistant": "2023.2.0" -} \ No newline at end of file +}