From 003b674a08b12af184a761455f37b8a1fdf1204d Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Sun, 23 Jun 2024 15:37:44 +0000 Subject: [PATCH 01/13] feat: migrate domain to midea_lan --- custom_components/midea_ac_lan/__init__.py | 7 ++++--- custom_components/midea_ac_lan/const.py | 2 +- custom_components/midea_ac_lan/manifest.json | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/custom_components/midea_ac_lan/__init__.py b/custom_components/midea_ac_lan/__init__.py index 0e3716d3..84d6b550 100644 --- a/custom_components/midea_ac_lan/__init__.py +++ b/custom_components/midea_ac_lan/__init__.py @@ -13,7 +13,6 @@ from typing import Any, cast import homeassistant.helpers.config_validation as cv -import homeassistant.helpers.device_registry as dr import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( @@ -61,7 +60,8 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non await hass.config_entries.async_unload_platforms(config_entry, ALL_PLATFORM) # forward the Config Entry to the platforms hass.async_create_task( - hass.config_entries.async_forward_entry_setups(config_entry, ALL_PLATFORM), + hass.config_entries.async_forward_entry_setups( + config_entry, ALL_PLATFORM), ) device_id = config_entry.data.get(CONF_DEVICE_ID) customize = config_entry.options.get(CONF_CUSTOMIZE, "") @@ -240,7 +240,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b # Listener `update_listener` is # attached when the entry is loaded # and detached when it's unloaded - config_entry.async_on_unload(config_entry.add_update_listener(update_listener)) + config_entry.async_on_unload( + config_entry.add_update_listener(update_listener)) return True return False diff --git a/custom_components/midea_ac_lan/const.py b/custom_components/midea_ac_lan/const.py index 9a21b780..25efbbd0 100644 --- a/custom_components/midea_ac_lan/const.py +++ b/custom_components/midea_ac_lan/const.py @@ -4,7 +4,7 @@ from homeassistant.const import Platform -DOMAIN = "midea_ac_lan" +DOMAIN = "midea_lan" COMPONENT = "component" DEVICES = "devices" diff --git a/custom_components/midea_ac_lan/manifest.json b/custom_components/midea_ac_lan/manifest.json index 8cde87fb..0142b2f5 100644 --- a/custom_components/midea_ac_lan/manifest.json +++ b/custom_components/midea_ac_lan/manifest.json @@ -1,6 +1,6 @@ { - "domain": "midea_ac_lan", - "name": "Midea AC LAN", + "domain": "midea_lan", + "name": "Midea LAN", "codeowners": ["@wuwentao", "@rokam", "@chemelli74", "@Necroneco"], "config_flow": true, "dependencies": [], From 350ebac178329b30bb0eea6b24b0f11547d2a08c Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 12:08:45 +0000 Subject: [PATCH 02/13] chore: merge --- custom_components/midea_ac_lan/__init__.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/custom_components/midea_ac_lan/__init__.py b/custom_components/midea_ac_lan/__init__.py index 84d6b550..fbc34d59 100644 --- a/custom_components/midea_ac_lan/__init__.py +++ b/custom_components/midea_ac_lan/__init__.py @@ -13,6 +13,8 @@ from typing import Any, cast import homeassistant.helpers.config_validation as cv +import homeassistant.helpers.device_registry as dr +import homeassistant.helpers.entity_registry as er import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( @@ -27,7 +29,7 @@ MAJOR_VERSION, MINOR_VERSION, ) -from homeassistant.core import HomeAssistant +from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.typing import ConfigType from midealocal.device import DeviceType, ProtocolVersion from midealocal.devices import device_selector @@ -317,3 +319,9 @@ async def _async_migrate_device_identifiers( # Leave outer for loop if device entry is already found. if device_entry_found: break + + +@callback +def _migrate_entities_domain(entity_entry: er.RegistryEntry) -> dict[str, Any]: # noqa: ARG001 + """Migrate entities domain to the new name.""" + return {"platform": DOMAIN} From fe630c9c68b6590760f1f56aa9740eff2c8baf2c Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 12:36:46 +0000 Subject: [PATCH 03/13] chore: rename folder --- .devcontainer/devcontainer.json | 2 +- .github/workflows/release.yml | 18 +++++++++--------- .gitignore | 10 ++-------- .pre-commit-config.yaml | 2 +- .../{midea_ac_lan => midea_lan}/__init__.py | 0 .../binary_sensor.py | 0 .../{midea_ac_lan => midea_lan}/climate.py | 0 .../{midea_ac_lan => midea_lan}/config_flow.py | 0 .../{midea_ac_lan => midea_lan}/const.py | 0 .../{midea_ac_lan => midea_lan}/fan.py | 0 .../{midea_ac_lan => midea_lan}/humidifier.py | 0 .../{midea_ac_lan => midea_lan}/light.py | 0 .../{midea_ac_lan => midea_lan}/lock.py | 0 .../{midea_ac_lan => midea_lan}/manifest.json | 0 .../midea_devices.py | 0 .../midea_entity.py | 0 .../{midea_ac_lan => midea_lan}/number.py | 0 .../{midea_ac_lan => midea_lan}/select.py | 0 .../{midea_ac_lan => midea_lan}/sensor.py | 0 .../{midea_ac_lan => midea_lan}/services.yaml | 0 .../{midea_ac_lan => midea_lan}/switch.py | 0 .../translations/de.json | 0 .../translations/en.json | 0 .../translations/fr.json | 0 .../translations/hu.json | 0 .../translations/ru.json | 0 .../translations/sk.json | 0 .../translations/zh-Hans.json | 0 .../water_heater.py | 0 doc/26.md | 10 +++++----- doc/26_hans.md | 10 +++++----- doc/34.md | 6 +++--- doc/34_hans.md | 6 +++--- doc/40.md | 8 ++++---- doc/40_hans.md | 8 ++++---- doc/A1.md | 8 ++++---- doc/A1_hans.md | 8 ++++---- doc/AC.md | 8 ++++---- doc/AC_hans.md | 8 ++++---- doc/C2.md | 8 ++++---- doc/C2_hans.md | 8 ++++---- doc/C3.md | 6 +++--- doc/C3_hans.md | 6 +++--- doc/CC.md | 6 +++--- doc/CC_hans.md | 6 +++--- doc/CD.md | 6 +++--- doc/CD_hans.md | 6 +++--- doc/CE.md | 6 +++--- doc/CE_hans.md | 6 +++--- doc/CF.md | 6 +++--- doc/CF_hans.md | 6 +++--- doc/DA.md | 6 +++--- doc/DA_hans.md | 6 +++--- doc/DB.md | 6 +++--- doc/DB_hans.md | 6 +++--- doc/DC.md | 6 +++--- doc/DC_hans.md | 6 +++--- doc/E1.md | 6 +++--- doc/E1_hans.md | 6 +++--- doc/E2.md | 6 +++--- doc/E2_hans.md | 6 +++--- doc/E3.md | 6 +++--- doc/E3_hans.md | 6 +++--- doc/E6.md | 6 +++--- doc/E6_hans.md | 6 +++--- doc/FA.md | 8 ++++---- doc/FA_hans.md | 8 ++++---- doc/FB.md | 8 ++++---- doc/FB_hans.md | 8 ++++---- doc/FC.md | 8 ++++---- doc/FC_hans.md | 8 ++++---- doc/FD.md | 8 ++++---- doc/FD_hans.md | 8 ++++---- hacs.json | 6 +++--- 74 files changed, 168 insertions(+), 174 deletions(-) rename custom_components/{midea_ac_lan => midea_lan}/__init__.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/binary_sensor.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/climate.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/config_flow.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/const.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/fan.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/humidifier.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/light.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/lock.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/manifest.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/midea_devices.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/midea_entity.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/number.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/select.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/sensor.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/services.yaml (100%) rename custom_components/{midea_ac_lan => midea_lan}/switch.py (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/de.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/en.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/fr.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/hu.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/ru.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/sk.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/translations/zh-Hans.json (100%) rename custom_components/{midea_ac_lan => midea_lan}/water_heater.py (100%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c04204bc..41564ac8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "midea_ac_lan", + "name": "midea_lan", "build": { "dockerfile": "Dockerfile", "context": ".." diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1693979..e88939c2 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: id: check_version run: | # Extract the version from manifest.json - manifest_version=$(grep -oP '(?<="version": ")[^"]*' custom_components/midea_ac_lan/manifest.json) + manifest_version=$(grep -oP '(?<="version": ")[^"]*' custom_components/midea_lan/manifest.json) echo "Manifest.json version: $manifest_version" # Extract the release tag release_tag="${GITHUB_REF#refs/tags/}" @@ -50,21 +50,21 @@ jobs: uname -a echo "show runner pwd file list" ls - ls -alht "custom_components/midea_ac_lan/" || exit 1 + ls -alht "custom_components/midea_lan/" || exit 1 echo "show manifest.json for debug" - cat "custom_components/midea_ac_lan/manifest.json" || exit 1 + cat "custom_components/midea_lan/manifest.json" || exit 1 dst_dir="/github/workspace/artifacts" sudo mkdir -p "$dst_dir" || exit 1 sudo chown -R "$(id -u):$(id -g)" "$dst_dir" || exit 1 sudo chmod -R 755 "$dst_dir" || exit 1 - cd "custom_components/midea_ac_lan/" || exit 1 - zip -r ../midea_ac_lan.zip ./* || exit 1 - cp ../midea_ac_lan.zip "$dst_dir/" || exit 1 + cd "custom_components/midea_lan/" || exit 1 + zip -r ../midea_lan.zip ./* || exit 1 + cp ../midea_lan.zip "$dst_dir/" || exit 1 ls -alht "$dst_dir" || exit 1 - name: Upload Artifacts uses: actions/upload-artifact@v4 with: - name: midea_ac_lan.zip + name: midea_lan.zip path: /github/workspace/artifacts upload_release: @@ -77,7 +77,7 @@ jobs: uses: actions/download-artifact@v4 with: path: artifacts - pattern: midea_ac_lan.zip + pattern: midea_lan.zip merge-multiple: true - name: Display Structure of Artifacts Files @@ -105,6 +105,6 @@ jobs: - name: Upload images to Release Asset uses: softprops/action-gh-release@v2 with: - files: artifacts/midea_ac_lan.zip + files: artifacts/midea_lan.zip env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.gitignore b/.gitignore index 251016ad..d375daf3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,10 +4,6 @@ config/ #Sensitive files sensitive/ -#exclude -custom_components/midea_ac_lan/midea/devices/b2/ -Wcustom_components/midea_ac_lan/midea/devices/b7/ - # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -106,7 +102,7 @@ celerybeat.pid .env .venv env/ -custom_components/midea_ac_lan/venv/ +custom_components/midea_lan/venv/ ENV/ env.bak/ venv.bak/ @@ -123,8 +119,6 @@ venv.bak/ # Rope project settings .ropeproject - - # Pyre type checker .pyre/ @@ -136,4 +130,4 @@ test.py cloud_extend.py # todo list -TODO.md \ No newline at end of file +TODO.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9505cf0a..8932f2aa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: hooks: - id: codespell args: ["-L hass,lookin,nam", "-w"] - exclude: "custom_components/midea_ac_lan/translations/de.json" # only de.json can't work with codespell + exclude: "custom_components/midea_lan/translations/de.json" # only de.json can't work with codespell - repo: local hooks: - id: mypy diff --git a/custom_components/midea_ac_lan/__init__.py b/custom_components/midea_lan/__init__.py similarity index 100% rename from custom_components/midea_ac_lan/__init__.py rename to custom_components/midea_lan/__init__.py diff --git a/custom_components/midea_ac_lan/binary_sensor.py b/custom_components/midea_lan/binary_sensor.py similarity index 100% rename from custom_components/midea_ac_lan/binary_sensor.py rename to custom_components/midea_lan/binary_sensor.py diff --git a/custom_components/midea_ac_lan/climate.py b/custom_components/midea_lan/climate.py similarity index 100% rename from custom_components/midea_ac_lan/climate.py rename to custom_components/midea_lan/climate.py diff --git a/custom_components/midea_ac_lan/config_flow.py b/custom_components/midea_lan/config_flow.py similarity index 100% rename from custom_components/midea_ac_lan/config_flow.py rename to custom_components/midea_lan/config_flow.py diff --git a/custom_components/midea_ac_lan/const.py b/custom_components/midea_lan/const.py similarity index 100% rename from custom_components/midea_ac_lan/const.py rename to custom_components/midea_lan/const.py diff --git a/custom_components/midea_ac_lan/fan.py b/custom_components/midea_lan/fan.py similarity index 100% rename from custom_components/midea_ac_lan/fan.py rename to custom_components/midea_lan/fan.py diff --git a/custom_components/midea_ac_lan/humidifier.py b/custom_components/midea_lan/humidifier.py similarity index 100% rename from custom_components/midea_ac_lan/humidifier.py rename to custom_components/midea_lan/humidifier.py diff --git a/custom_components/midea_ac_lan/light.py b/custom_components/midea_lan/light.py similarity index 100% rename from custom_components/midea_ac_lan/light.py rename to custom_components/midea_lan/light.py diff --git a/custom_components/midea_ac_lan/lock.py b/custom_components/midea_lan/lock.py similarity index 100% rename from custom_components/midea_ac_lan/lock.py rename to custom_components/midea_lan/lock.py diff --git a/custom_components/midea_ac_lan/manifest.json b/custom_components/midea_lan/manifest.json similarity index 100% rename from custom_components/midea_ac_lan/manifest.json rename to custom_components/midea_lan/manifest.json diff --git a/custom_components/midea_ac_lan/midea_devices.py b/custom_components/midea_lan/midea_devices.py similarity index 100% rename from custom_components/midea_ac_lan/midea_devices.py rename to custom_components/midea_lan/midea_devices.py diff --git a/custom_components/midea_ac_lan/midea_entity.py b/custom_components/midea_lan/midea_entity.py similarity index 100% rename from custom_components/midea_ac_lan/midea_entity.py rename to custom_components/midea_lan/midea_entity.py diff --git a/custom_components/midea_ac_lan/number.py b/custom_components/midea_lan/number.py similarity index 100% rename from custom_components/midea_ac_lan/number.py rename to custom_components/midea_lan/number.py diff --git a/custom_components/midea_ac_lan/select.py b/custom_components/midea_lan/select.py similarity index 100% rename from custom_components/midea_ac_lan/select.py rename to custom_components/midea_lan/select.py diff --git a/custom_components/midea_ac_lan/sensor.py b/custom_components/midea_lan/sensor.py similarity index 100% rename from custom_components/midea_ac_lan/sensor.py rename to custom_components/midea_lan/sensor.py diff --git a/custom_components/midea_ac_lan/services.yaml b/custom_components/midea_lan/services.yaml similarity index 100% rename from custom_components/midea_ac_lan/services.yaml rename to custom_components/midea_lan/services.yaml diff --git a/custom_components/midea_ac_lan/switch.py b/custom_components/midea_lan/switch.py similarity index 100% rename from custom_components/midea_ac_lan/switch.py rename to custom_components/midea_lan/switch.py diff --git a/custom_components/midea_ac_lan/translations/de.json b/custom_components/midea_lan/translations/de.json similarity index 100% rename from custom_components/midea_ac_lan/translations/de.json rename to custom_components/midea_lan/translations/de.json diff --git a/custom_components/midea_ac_lan/translations/en.json b/custom_components/midea_lan/translations/en.json similarity index 100% rename from custom_components/midea_ac_lan/translations/en.json rename to custom_components/midea_lan/translations/en.json diff --git a/custom_components/midea_ac_lan/translations/fr.json b/custom_components/midea_lan/translations/fr.json similarity index 100% rename from custom_components/midea_ac_lan/translations/fr.json rename to custom_components/midea_lan/translations/fr.json diff --git a/custom_components/midea_ac_lan/translations/hu.json b/custom_components/midea_lan/translations/hu.json similarity index 100% rename from custom_components/midea_ac_lan/translations/hu.json rename to custom_components/midea_lan/translations/hu.json diff --git a/custom_components/midea_ac_lan/translations/ru.json b/custom_components/midea_lan/translations/ru.json similarity index 100% rename from custom_components/midea_ac_lan/translations/ru.json rename to custom_components/midea_lan/translations/ru.json diff --git a/custom_components/midea_ac_lan/translations/sk.json b/custom_components/midea_lan/translations/sk.json similarity index 100% rename from custom_components/midea_ac_lan/translations/sk.json rename to custom_components/midea_lan/translations/sk.json diff --git a/custom_components/midea_ac_lan/translations/zh-Hans.json b/custom_components/midea_lan/translations/zh-Hans.json similarity index 100% rename from custom_components/midea_ac_lan/translations/zh-Hans.json rename to custom_components/midea_lan/translations/zh-Hans.json diff --git a/custom_components/midea_ac_lan/water_heater.py b/custom_components/midea_lan/water_heater.py similarity index 100% rename from custom_components/midea_ac_lan/water_heater.py rename to custom_components/midea_lan/water_heater.py diff --git a/doc/26.md b/doc/26.md index 4b034561..cb1abf18 100644 --- a/doc/26.md +++ b/doc/26.md @@ -25,9 +25,9 @@ No Default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -52,7 +52,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: main_light @@ -60,7 +60,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: mode @@ -68,7 +68,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: direction diff --git a/doc/26_hans.md b/doc/26_hans.md index df6ef7ef..da9b16f1 100644 --- a/doc/26_hans.md +++ b/doc/26_hans.md @@ -25,9 +25,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -52,7 +52,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: main_light @@ -60,7 +60,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: mode @@ -68,7 +68,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: direction diff --git a/doc/34.md b/doc/34.md index 09d61002..bc3a62fe 100644 --- a/doc/34.md +++ b/doc/34.md @@ -31,9 +31,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -46,7 +46,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/34_hans.md b/doc/34_hans.md index 631ac060..930d7200 100644 --- a/doc/34_hans.md +++ b/doc/34_hans.md @@ -31,9 +31,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -46,7 +46,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/40.md b/doc/40.md index 14052597..8ab1ff51 100644 --- a/doc/40.md +++ b/doc/40.md @@ -25,9 +25,9 @@ ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -46,7 +46,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: light @@ -54,7 +54,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: directions diff --git a/doc/40_hans.md b/doc/40_hans.md index 6df99f08..64f09aba 100644 --- a/doc/40_hans.md +++ b/doc/40_hans.md @@ -25,9 +25,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -46,7 +46,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: light @@ -54,7 +54,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: directions diff --git a/doc/A1.md b/doc/A1.md index 504bdcfb..a03af6fc 100644 --- a/doc/A1.md +++ b/doc/A1.md @@ -33,9 +33,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -60,7 +60,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -68,7 +68,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/A1_hans.md b/doc/A1_hans.md index d77ca385..50307213 100644 --- a/doc/A1_hans.md +++ b/doc/A1_hans.md @@ -33,9 +33,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -60,7 +60,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -68,7 +68,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/AC.md b/doc/AC.md index a30aa7d8..66fb7b12 100644 --- a/doc/AC.md +++ b/doc/AC.md @@ -75,9 +75,9 @@ Some Midea appliance be named "Fresh Air Appliance", the protocol that actually ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -96,7 +96,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: eco_mode @@ -104,7 +104,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/AC_hans.md b/doc/AC_hans.md index 319cfd8b..6da42775 100644 --- a/doc/AC_hans.md +++ b/doc/AC_hans.md @@ -75,9 +75,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -96,7 +96,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: eco_mode @@ -104,7 +104,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/C2.md b/doc/C2.md index 888348af..2ffa7ce6 100644 --- a/doc/C2.md +++ b/doc/C2.md @@ -35,9 +35,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -56,7 +56,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: child_lock @@ -64,7 +64,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: max_dry_level diff --git a/doc/C2_hans.md b/doc/C2_hans.md index fa2b96da..3e557095 100644 --- a/doc/C2_hans.md +++ b/doc/C2_hans.md @@ -35,9 +35,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -56,7 +56,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: child_lock @@ -64,7 +64,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: max_dry_level diff --git a/doc/C3.md b/doc/C3.md index a53458d8..1950c2b3 100644 --- a/doc/C3.md +++ b/doc/C3.md @@ -45,9 +45,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -60,7 +60,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: zone1_curve diff --git a/doc/C3_hans.md b/doc/C3_hans.md index 59ec5d82..1b06aa61 100644 --- a/doc/C3_hans.md +++ b/doc/C3_hans.md @@ -45,9 +45,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -60,7 +60,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: zone1_curve diff --git a/doc/CC.md b/doc/CC.md index db11e63a..0a1d0437 100644 --- a/doc/CC.md +++ b/doc/CC.md @@ -35,9 +35,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -50,7 +50,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: eco_mode diff --git a/doc/CC_hans.md b/doc/CC_hans.md index d57fa4ed..8479b251 100644 --- a/doc/CC_hans.md +++ b/doc/CC_hans.md @@ -37,9 +37,9 @@ 生成以下扩展服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -52,7 +52,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: eco_mode diff --git a/doc/CD.md b/doc/CD.md index 983a1f77..181ce5bf 100644 --- a/doc/CD.md +++ b/doc/CD.md @@ -33,9 +33,9 @@ Set the temperature step of water heater (1 by default). ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -48,7 +48,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/CD_hans.md b/doc/CD_hans.md index ec37a07f..050c7973 100644 --- a/doc/CD_hans.md +++ b/doc/CD_hans.md @@ -30,9 +30,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -45,7 +45,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/CE.md b/doc/CE.md index 69de3d7f..059a0208 100644 --- a/doc/CE.md +++ b/doc/CE.md @@ -44,9 +44,9 @@ Set the levels of fan except "Auto" (7 by default). ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -59,7 +59,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/CE_hans.md b/doc/CE_hans.md index b83c80a1..2ba1a561 100644 --- a/doc/CE_hans.md +++ b/doc/CE_hans.md @@ -46,9 +46,9 @@ 生成以下扩展服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -61,7 +61,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/CF.md b/doc/CF.md index 2bea0c15..c5f201cf 100644 --- a/doc/CF.md +++ b/doc/CF.md @@ -24,9 +24,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -39,7 +39,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: aux_heating diff --git a/doc/CF_hans.md b/doc/CF_hans.md index 84a47070..304316e3 100644 --- a/doc/CF_hans.md +++ b/doc/CF_hans.md @@ -24,9 +24,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -39,7 +39,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: aux_heating diff --git a/doc/DA.md b/doc/DA.md index 48945951..af55c61a 100644 --- a/doc/DA.md +++ b/doc/DA.md @@ -17,9 +17,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -32,7 +32,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/DA_hans.md b/doc/DA_hans.md index b82c169c..5eeab001 100644 --- a/doc/DA_hans.md +++ b/doc/DA_hans.md @@ -19,9 +19,9 @@ 生成以下扩展服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -34,7 +34,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/DB.md b/doc/DB.md index 718ec8e8..5b42664e 100644 --- a/doc/DB.md +++ b/doc/DB.md @@ -17,9 +17,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -32,7 +32,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/DB_hans.md b/doc/DB_hans.md index acd704fd..63d404f2 100644 --- a/doc/DB_hans.md +++ b/doc/DB_hans.md @@ -17,9 +17,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -32,7 +32,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/DC.md b/doc/DC.md index c7bfacbd..3534c28f 100644 --- a/doc/DC.md +++ b/doc/DC.md @@ -17,9 +17,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -32,7 +32,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/DC_hans.md b/doc/DC_hans.md index 64f52397..2e1285e5 100644 --- a/doc/DC_hans.md +++ b/doc/DC_hans.md @@ -17,9 +17,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -32,7 +32,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/E1.md b/doc/E1.md index c098dc98..54aadd4f 100644 --- a/doc/E1.md +++ b/doc/E1.md @@ -29,9 +29,9 @@ No default entity ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -44,7 +44,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/E1_hans.md b/doc/E1_hans.md index 00571b3a..d6ebaa5a 100644 --- a/doc/E1_hans.md +++ b/doc/E1_hans.md @@ -31,9 +31,9 @@ 生成以下扩展服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -46,7 +46,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power diff --git a/doc/E2.md b/doc/E2.md index c0c3e80f..7049db26 100644 --- a/doc/E2.md +++ b/doc/E2.md @@ -39,9 +39,9 @@ ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -54,7 +54,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: variable_heating diff --git a/doc/E2_hans.md b/doc/E2_hans.md index 0a3619a7..f1ee287a 100644 --- a/doc/E2_hans.md +++ b/doc/E2_hans.md @@ -39,9 +39,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -54,7 +54,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: variable_heating diff --git a/doc/E3.md b/doc/E3.md index 1042b1c8..7403a9ab 100644 --- a/doc/E3.md +++ b/doc/E3.md @@ -36,9 +36,9 @@ ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -51,7 +51,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: smart_volume diff --git a/doc/E3_hans.md b/doc/E3_hans.md index 4870406b..30a76d9c 100644 --- a/doc/E3_hans.md +++ b/doc/E3_hans.md @@ -36,9 +36,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -51,7 +51,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: smart_volume diff --git a/doc/E6.md b/doc/E6.md index 3886a64b..b2484982 100644 --- a/doc/E6.md +++ b/doc/E6.md @@ -22,9 +22,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -37,7 +37,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: main_power diff --git a/doc/E6_hans.md b/doc/E6_hans.md index 42cf0f30..971bd1e7 100644 --- a/doc/E6_hans.md +++ b/doc/E6_hans.md @@ -22,9 +22,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -37,7 +37,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: main_power diff --git a/doc/FA.md b/doc/FA.md index 2c6940af..cbdb0c1e 100644 --- a/doc/FA.md +++ b/doc/FA.md @@ -36,9 +36,9 @@ Set the levels of the fan device except "Off" (3 by default). ## Services -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -69,7 +69,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power @@ -77,7 +77,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: oscillation_angle diff --git a/doc/FA_hans.md b/doc/FA_hans.md index 5ea180db..616594d0 100644 --- a/doc/FA_hans.md +++ b/doc/FA_hans.md @@ -36,9 +36,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -69,7 +69,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power @@ -77,7 +77,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: oscillation_angle diff --git a/doc/FB.md b/doc/FB.md index 68dc4052..9268198a 100644 --- a/doc/FB.md +++ b/doc/FB.md @@ -24,9 +24,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -45,7 +45,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power @@ -53,7 +53,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: heating_level diff --git a/doc/FB_hans.md b/doc/FB_hans.md index 0883f9fc..c066d8c1 100644 --- a/doc/FB_hans.md +++ b/doc/FB_hans.md @@ -24,9 +24,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -45,7 +45,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: power @@ -53,7 +53,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: heating_level diff --git a/doc/FC.md b/doc/FC.md index 4966eb8f..9337aa06 100644 --- a/doc/FC.md +++ b/doc/FC.md @@ -35,9 +35,9 @@ No default entity. ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -74,7 +74,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -82,7 +82,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/FC_hans.md b/doc/FC_hans.md index af04a4ae..ba6ab74b 100644 --- a/doc/FC_hans.md +++ b/doc/FC_hans.md @@ -35,9 +35,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -74,7 +74,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -82,7 +82,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/FD.md b/doc/FD.md index 4164af39..39c0b85f 100644 --- a/doc/FD.md +++ b/doc/FD.md @@ -28,9 +28,9 @@ ## Service -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) Set the attribute of appliance. Service data: @@ -55,7 +55,7 @@ Set the attribute of appliance. Service data: Example ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -63,7 +63,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/doc/FD_hans.md b/doc/FD_hans.md index b371f518..e38cbba4 100644 --- a/doc/FD_hans.md +++ b/doc/FD_hans.md @@ -28,9 +28,9 @@ ## 服务 -### midea_ac_lan.set_attribute +### midea_lan.set_attribute -[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_ac_lan.set_attribute) +[![Service](https://my.home-assistant.io/badges/developer_call_service.svg)](https://my.home-assistant.io/redirect/developer_call_service/?service=midea_lan.set_attribute) 设置设备属性, 服务数据: @@ -55,7 +55,7 @@ 示例 ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: prompt_tone @@ -63,7 +63,7 @@ data: ``` ```yaml -service: midea_ac_lan.set_attribute +service: midea_lan.set_attribute data: device_id: XXXXXXXXXXXX attribute: fan_speed diff --git a/hacs.json b/hacs.json index 5aedd226..d744736e 100644 --- a/hacs.json +++ b/hacs.json @@ -1,7 +1,7 @@ { - "name": "Midea AC LAN", + "name": "Midea LAN", "render_readme": true, "homeassistant": "2023.8", "zip_release": true, - "filename": "midea_ac_lan.zip" -} + "filename": "midea_lan.zip" +} \ No newline at end of file From f87ead92bc3d8722572e8e94f115628c47e7b972 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 13:02:30 +0000 Subject: [PATCH 04/13] chore: prettier --- hacs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index d744736e..60d56247 100644 --- a/hacs.json +++ b/hacs.json @@ -4,4 +4,4 @@ "homeassistant": "2023.8", "zip_release": true, "filename": "midea_lan.zip" -} \ No newline at end of file +} From c7140358b2f5fd981ef313babade18b4f4c673fd Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 17:48:04 +0000 Subject: [PATCH 05/13] chore: fixes after merge --- custom_components/midea_lan/__init__.py | 31 +++++++++++++++++++--- custom_components/midea_lan/config_flow.py | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/custom_components/midea_lan/__init__.py b/custom_components/midea_lan/__init__.py index fbc34d59..9c83f05f 100644 --- a/custom_components/midea_lan/__init__.py +++ b/custom_components/midea_lan/__init__.py @@ -62,8 +62,7 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non await hass.config_entries.async_unload_platforms(config_entry, ALL_PLATFORM) # forward the Config Entry to the platforms hass.async_create_task( - hass.config_entries.async_forward_entry_setups( - config_entry, ALL_PLATFORM), + hass.config_entries.async_forward_entry_setups(config_entry, ALL_PLATFORM), ) device_id = config_entry.data.get(CONF_DEVICE_ID) customize = config_entry.options.get(CONF_CUSTOMIZE, "") @@ -242,8 +241,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b # Listener `update_listener` is # attached when the entry is loaded # and detached when it's unloaded - config_entry.async_on_unload( - config_entry.add_update_listener(update_listener)) + config_entry.async_on_unload(config_entry.add_update_listener(update_listener)) return True return False @@ -281,6 +279,31 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> _LOGGER.debug("Migration to configuration version 2 successful") + # 2 -> 3: migrate domain + if config_entry.version == 2: # noqa: PLR2004 + _LOGGER.debug("Migrating configuration from version 2") + + # Migrate config entry + new_data = {**config_entry.data} + new_data["domain"] = DOMAIN + if (MAJOR_VERSION, MINOR_VERSION) >= (2024, 3): + hass.config_entries.async_update_entry(config_entry, version=2) + else: + config_entry.version = 2 + hass.config_entries.async_update_entry(config_entry) + + # Migrate device. + await _async_migrate_device_identifiers(hass, config_entry) + + # Migrate entities. + await er.async_migrate_entries( + hass, + config_entry.entry_id, + _migrate_entities_domain, + ) + + _LOGGER.debug("Migration to configuration version 3 successful") + return True diff --git a/custom_components/midea_lan/config_flow.py b/custom_components/midea_lan/config_flow.py index 3004e518..184f8f37 100644 --- a/custom_components/midea_lan/config_flow.py +++ b/custom_components/midea_lan/config_flow.py @@ -101,7 +101,7 @@ class MideaLanConfigFlow(ConfigFlow, domain=DOMAIN): # type: ignore[call-arg] ConfigFlow will manage the creation of entries from user input, discovery """ - VERSION = 2 + VERSION = 3 MINOR_VERSION = 1 def __init__(self) -> None: From 8b59eed22b6d508bd19bb26a7832639f8e7d562d Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 12:36:46 +0000 Subject: [PATCH 06/13] chore: rename folder --- hacs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index 60d56247..d744736e 100644 --- a/hacs.json +++ b/hacs.json @@ -4,4 +4,4 @@ "homeassistant": "2023.8", "zip_release": true, "filename": "midea_lan.zip" -} +} \ No newline at end of file From 029ff5d60d757ada85afd7bb84e1027dafca5880 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:27:06 +0000 Subject: [PATCH 07/13] chore(pre-commit.ci): auto fixes --- hacs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index d744736e..60d56247 100644 --- a/hacs.json +++ b/hacs.json @@ -4,4 +4,4 @@ "homeassistant": "2023.8", "zip_release": true, "filename": "midea_lan.zip" -} \ No newline at end of file +} From d73b10c6663d44a89b42d7f9deb0fcdfaaf89187 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Sun, 23 Jun 2024 15:37:44 +0000 Subject: [PATCH 08/13] feat: migrate domain to midea_lan --- custom_components/midea_lan/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/custom_components/midea_lan/__init__.py b/custom_components/midea_lan/__init__.py index 9c83f05f..b8da1e41 100644 --- a/custom_components/midea_lan/__init__.py +++ b/custom_components/midea_lan/__init__.py @@ -62,7 +62,8 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non await hass.config_entries.async_unload_platforms(config_entry, ALL_PLATFORM) # forward the Config Entry to the platforms hass.async_create_task( - hass.config_entries.async_forward_entry_setups(config_entry, ALL_PLATFORM), + hass.config_entries.async_forward_entry_setups( + config_entry, ALL_PLATFORM), ) device_id = config_entry.data.get(CONF_DEVICE_ID) customize = config_entry.options.get(CONF_CUSTOMIZE, "") @@ -241,7 +242,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b # Listener `update_listener` is # attached when the entry is loaded # and detached when it's unloaded - config_entry.async_on_unload(config_entry.add_update_listener(update_listener)) + config_entry.async_on_unload( + config_entry.add_update_listener(update_listener)) return True return False From 8a19646e57b6966d83cb2d156865509b7d9ce4db Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 17:48:04 +0000 Subject: [PATCH 09/13] chore: fixes after merge --- custom_components/midea_lan/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/custom_components/midea_lan/__init__.py b/custom_components/midea_lan/__init__.py index b8da1e41..9c83f05f 100644 --- a/custom_components/midea_lan/__init__.py +++ b/custom_components/midea_lan/__init__.py @@ -62,8 +62,7 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non await hass.config_entries.async_unload_platforms(config_entry, ALL_PLATFORM) # forward the Config Entry to the platforms hass.async_create_task( - hass.config_entries.async_forward_entry_setups( - config_entry, ALL_PLATFORM), + hass.config_entries.async_forward_entry_setups(config_entry, ALL_PLATFORM), ) device_id = config_entry.data.get(CONF_DEVICE_ID) customize = config_entry.options.get(CONF_CUSTOMIZE, "") @@ -242,8 +241,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b # Listener `update_listener` is # attached when the entry is loaded # and detached when it's unloaded - config_entry.async_on_unload( - config_entry.add_update_listener(update_listener)) + config_entry.async_on_unload(config_entry.add_update_listener(update_listener)) return True return False From 379d94712ab0aa06625ab57f8f1979d7c348f68f Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Mon, 24 Jun 2024 12:36:46 +0000 Subject: [PATCH 10/13] chore: rename folder --- hacs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index 60d56247..d744736e 100644 --- a/hacs.json +++ b/hacs.json @@ -4,4 +4,4 @@ "homeassistant": "2023.8", "zip_release": true, "filename": "midea_lan.zip" -} +} \ No newline at end of file From ea244a03f97d064ef064ac84644a3b93f4df9672 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:27:06 +0000 Subject: [PATCH 11/13] chore(pre-commit.ci): auto fixes --- hacs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacs.json b/hacs.json index d744736e..60d56247 100644 --- a/hacs.json +++ b/hacs.json @@ -4,4 +4,4 @@ "homeassistant": "2023.8", "zip_release": true, "filename": "midea_lan.zip" -} \ No newline at end of file +} From e0e0e4f6a5a41a2fccdea43f7eaf7fe9ed5ec603 Mon Sep 17 00:00:00 2001 From: Hello World Date: Wed, 26 Jun 2024 09:49:01 +0800 Subject: [PATCH 12/13] Update with debug hacs_action to confirm the diff --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a2bd38b9..5e812ca7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,7 +15,7 @@ jobs: - uses: "actions/checkout@v4" - name: HACS Action - uses: hacs/action@main + uses: wuwentao/hacs_action@main with: category: "integration" From b9f2022ddc7847fd75c37f29782403fb6b1a1bcf Mon Sep 17 00:00:00 2001 From: Necroneco Date: Wed, 26 Jun 2024 10:25:47 +0800 Subject: [PATCH 13/13] temporarily ignore brands --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5e812ca7..8e9ec50d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -18,6 +18,7 @@ jobs: uses: wuwentao/hacs_action@main with: category: "integration" + ignore: "brands" - name: Hassfest validation uses: "home-assistant/actions/hassfest@master"