diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 50db9676..6c01376c 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,41 +1,39 @@
{
- "name": "midea_ac_lan",
- "image": "mcr.microsoft.com/devcontainers/python:3.12-bullseye",
- "postCreateCommand": "scripts/setup.sh",
- "forwardPorts": [
- 8123
- ],
- "portsAttributes": {
- "8123": {
- "label": "Home Assistant",
- "onAutoForward": "notify"
- }
- },
- "customizations": {
- "vscode": {
- "extensions": [
- "ms-python.python",
- "ryanluker.vscode-coverage-gutters",
- "ms-python.vscode-pylance",
- "github.vscode-github-actions",
- "GitHub.vscode-pull-request-github",
- "ms-python.black-formatter"
- ],
- "settings": {
- "files.eol": "\n",
- "editor.tabSize": 4,
- "python.pythonPath": "/usr/bin/python3",
- "python.analysis.autoSearchPaths": false,
- "editor.formatOnPaste": false,
- "editor.formatOnSave": true,
- "editor.formatOnType": true
- }
- }
- },
- "remoteUser": "vscode",
- "features": {
- "ghcr.io/devcontainers/features/python:1": {
- "version": "3.12"
- }
- }
-}
\ No newline at end of file
+ "name": "midea_ac_lan",
+ "image": "mcr.microsoft.com/devcontainers/python:3.12-bullseye",
+ "postCreateCommand": "scripts/setup.sh",
+ "forwardPorts": [8123],
+ "portsAttributes": {
+ "8123": {
+ "label": "Home Assistant",
+ "onAutoForward": "notify"
+ }
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "ms-python.python",
+ "ryanluker.vscode-coverage-gutters",
+ "ms-python.vscode-pylance",
+ "github.vscode-github-actions",
+ "GitHub.vscode-pull-request-github",
+ "ms-python.black-formatter"
+ ],
+ "settings": {
+ "files.eol": "\n",
+ "editor.tabSize": 4,
+ "python.pythonPath": "/usr/bin/python3",
+ "python.analysis.autoSearchPaths": false,
+ "editor.formatOnPaste": false,
+ "editor.formatOnSave": true,
+ "editor.formatOnType": true
+ }
+ }
+ },
+ "remoteUser": "vscode",
+ "features": {
+ "ghcr.io/devcontainers/features/python:1": {
+ "version": "3.12"
+ }
+ }
+}
diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml
index 95021ea7..e3376012 100644
--- a/.github/workflows/issue-translator.yml
+++ b/.github/workflows/issue-translator.yml
@@ -1,4 +1,4 @@
-name: 'issue-translator'
+name: "issue-translator"
on:
issue_comment:
types: [created]
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
index 6a2f092e..b1de6f38 100755
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/linter.yml
@@ -1,7 +1,7 @@
---
name: Lint
-on: # yamllint disable-line rule:truthy
+on: # yamllint disable-line rule:truthy
push: null
pull_request: null
@@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- name: Super-linter
- uses: super-linter/super-linter@v6.4.1 # x-release-please-version
+ uses: super-linter/super-linter@v6.4.1 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..e269bd5e
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,55 @@
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+exclude: "CHANGELOG.md|.copier-answers.yml"
+default_stages: [commit]
+
+ci:
+ autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
+ autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
+ autoupdate_schedule: weekly
+
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.6.0
+ hooks:
+ - id: no-commit-to-branch
+ args: ["--branch", "master"]
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.4.4
+ hooks:
+ - id: ruff
+ args:
+ - --fix
+ - id: ruff-format
+ - repo: https://github.com/commitizen-tools/commitizen
+ rev: v3.26.0
+ hooks:
+ - id: commitizen
+ stages: [commit-msg]
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.6.0
+ hooks:
+ - id: check-json
+ - id: check-toml
+ - id: check-xml
+ - id: check-yaml
+ - id: detect-private-key
+ # - repo: https://github.com/pre-commit/mirrors-prettier
+ # rev: v4.0.0-alpha.8
+ # hooks:
+ # - id: prettier
+ # args: ["--tab-width", "2"]
+ - repo: https://github.com/asottile/pyupgrade
+ rev: v3.15.2
+ hooks:
+ - id: pyupgrade
+ args: [--py37-plus]
+ # - repo: https://github.com/codespell-project/codespell
+ # rev: v2.3.0
+ # hooks:
+ # - id: codespell
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: v1.10.0
+ hooks:
+ - id: mypy
+ additional_dependencies: []
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 17358b1d..de66fec3 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,7 +1,4 @@
{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 9b388533..d969f962 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,7 +1,5 @@
{
- "python.testing.pytestArgs": [
- "tests"
- ],
- "python.testing.unittestEnabled": false,
- "python.testing.pytestEnabled": true
-}
\ No newline at end of file
+ "python.testing.pytestArgs": ["tests"],
+ "python.testing.unittestEnabled": false,
+ "python.testing.pytestEnabled": true
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 75eb3c53..00d02edf 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,11 +1,11 @@
{
- "version": "2.0.0",
- "tasks": [
- {
- "label": "Run Home Assistant on port 8123",
- "type": "shell",
- "command": "scripts/run.sh",
- "problemMatcher": []
- }
- ]
-}
\ No newline at end of file
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Run Home Assistant on port 8123",
+ "type": "shell",
+ "command": "scripts/run.sh",
+ "problemMatcher": []
+ }
+ ]
+}
diff --git a/custom_components/midea_ac_lan/__init__.py b/custom_components/midea_ac_lan/__init__.py
index 68ebb37d..cea9dbd9 100644
--- a/custom_components/midea_ac_lan/__init__.py
+++ b/custom_components/midea_ac_lan/__init__.py
@@ -1,4 +1,5 @@
import logging
+from typing import cast
import homeassistant.helpers.config_validation as cv
import voluptuous as vol
@@ -55,7 +56,9 @@ async def async_setup(hass: HomeAssistant, hass_config: dict):
hass.data.setdefault(DOMAIN, {})
attributes = []
for device_entities in MIDEA_DEVICES.values():
- for attribute_name, attribute in device_entities.get("entities").items():
+ for attribute_name, attribute in cast(
+ dict, device_entities["entities"]
+ ).items():
if (
attribute.get("type") in EXTRA_SWITCH
and attribute_name.value not in attributes
diff --git a/custom_components/midea_ac_lan/climate.py b/custom_components/midea_ac_lan/climate.py
index 1a89c666..3539a09d 100644
--- a/custom_components/midea_ac_lan/climate.py
+++ b/custom_components/midea_ac_lan/climate.py
@@ -75,7 +75,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
class MideaClimate(MideaEntity, ClimateEntity):
-
# https://developers.home-assistant.io/blog/2024/01/24/climate-climateentityfeatures-expanded
_enable_turn_on_off_backwards_compatibility: bool = (
False # maybe remove after 2025.1
@@ -176,7 +175,7 @@ def turn_off(self):
def set_temperature(self, **kwargs) -> None:
if ATTR_TEMPERATURE not in kwargs:
return
- temperature = float(int((float(kwargs.get(ATTR_TEMPERATURE)) * 2) + 0.5)) / 2
+ temperature = float(int((float(kwargs[ATTR_TEMPERATURE]) * 2) + 0.5)) / 2
hvac_mode = kwargs.get(ATTR_HVAC_MODE)
if hvac_mode == HVACMode.OFF:
self.turn_off()
@@ -462,7 +461,7 @@ def current_temperature(self):
def set_temperature(self, **kwargs) -> None:
if ATTR_TEMPERATURE not in kwargs:
return
- temperature = float(int((float(kwargs.get(ATTR_TEMPERATURE)) * 2) + 0.5)) / 2
+ temperature = float(int((float(kwargs[ATTR_TEMPERATURE]) * 2) + 0.5)) / 2
hvac_mode = kwargs.get(ATTR_HVAC_MODE)
if hvac_mode == HVACMode.OFF:
self.turn_off()
@@ -541,7 +540,7 @@ def current_temperature(self):
def set_temperature(self, **kwargs) -> None:
if ATTR_TEMPERATURE not in kwargs:
return
- temperature = float(int((float(kwargs.get(ATTR_TEMPERATURE)) * 2) + 0.5)) / 2
+ temperature = float(int((float(kwargs[ATTR_TEMPERATURE]) * 2) + 0.5)) / 2
hvac_mode = kwargs.get(ATTR_HVAC_MODE)
if hvac_mode == HVACMode.OFF:
self.turn_off()
diff --git a/custom_components/midea_ac_lan/config_flow.py b/custom_components/midea_ac_lan/config_flow.py
index 7c10c84b..08e1a80a 100644
--- a/custom_components/midea_ac_lan/config_flow.py
+++ b/custom_components/midea_ac_lan/config_flow.py
@@ -28,7 +28,7 @@
from homeassistant.core import callback
from homeassistant.helpers.aiohttp_client import async_create_clientsession
from homeassistant.util.json import load_json
-from midealocal.cloud import get_midea_cloud
+from midealocal.cloud import MideaCloud, get_midea_cloud
from midealocal.device import MideaDevice
from midealocal.discover import discover
@@ -70,19 +70,19 @@
]
-class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
- available_device = []
- devices = {}
- found_device = {}
- supports = {}
- unsorted = {}
- account = {}
- cloud = None
+class ConfigFlow(config_entries.ConfigFlow):
+ available_device: list = []
+ devices: dict = {}
+ found_device: dict = {}
+ supports: dict = {}
+ unsorted: dict = {}
+ account: dict = {}
+ cloud: MideaCloud | None = None
session = None
for device_type, device_info in MIDEA_DEVICES.items():
unsorted[device_type] = device_info["name"]
- unsorted = sorted(unsorted.items(), key=lambda x: x[1])
+ unsorted = dict(sorted(unsorted.items(), key=lambda x: x[1]))
for item in unsorted:
supports[item[0]] = item[1]
diff --git a/custom_components/midea_ac_lan/light.py b/custom_components/midea_ac_lan/light.py
index b8ab5020..78c5dcd2 100644
--- a/custom_components/midea_ac_lan/light.py
+++ b/custom_components/midea_ac_lan/light.py
@@ -100,7 +100,7 @@ def turn_on(self, **kwargs: Any):
if not self.is_on:
self._device.set_attribute(attr=X13Attributes.power, value=True)
for key in kwargs:
- value = kwargs.get(key)
+ value = kwargs[key]
if key == ATTR_BRIGHTNESS:
self._device.set_attribute(attr=X13Attributes.brightness, value=value)
if key == ATTR_COLOR_TEMP:
diff --git a/custom_components/midea_ac_lan/lock.py b/custom_components/midea_ac_lan/lock.py
index f62eeb54..195d1773 100644
--- a/custom_components/midea_ac_lan/lock.py
+++ b/custom_components/midea_ac_lan/lock.py
@@ -19,7 +19,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
class MideaLock(MideaEntity, LockEntity):
-
@property
def is_locked(self):
return self._device.get_attribute(self._entity_key)
diff --git a/custom_components/midea_ac_lan/manifest.json b/custom_components/midea_ac_lan/manifest.json
index 87060d8f..9241d3a4 100644
--- a/custom_components/midea_ac_lan/manifest.json
+++ b/custom_components/midea_ac_lan/manifest.json
@@ -3,7 +3,8 @@
"name": "Midea AC LAN",
"codeowners": [
"@wuwentao",
- "@rokam"
+ "@rokam",
+ "@chemelli74"
],
"config_flow": true,
"dependencies": [],
diff --git a/custom_components/midea_ac_lan/midea_devices.py b/custom_components/midea_ac_lan/midea_devices.py
index a66755cc..adff8545 100644
--- a/custom_components/midea_ac_lan/midea_devices.py
+++ b/custom_components/midea_ac_lan/midea_devices.py
@@ -1,3 +1,5 @@
+from typing import Any
+
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
from homeassistant.components.sensor import SensorDeviceClass, SensorStateClass
from homeassistant.const import (
@@ -45,7 +47,7 @@
from midealocal.devices.x34 import DeviceAttributes as X34Attributes
from midealocal.devices.x40 import DeviceAttributes as X40Attributes
-MIDEA_DEVICES = {
+MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
0x13: {
"name": "Light",
"entities": {
diff --git a/custom_components/midea_ac_lan/midea_entity.py b/custom_components/midea_ac_lan/midea_entity.py
index 678c13e7..9c7c2b0f 100644
--- a/custom_components/midea_ac_lan/midea_entity.py
+++ b/custom_components/midea_ac_lan/midea_entity.py
@@ -1,4 +1,5 @@
import logging
+from typing import cast
from homeassistant.helpers.entity import Entity
@@ -12,7 +13,9 @@ class MideaEntity(Entity):
def __init__(self, device, entity_key: str):
self._device = device
self._device.register_update(self.update_state)
- self._config = MIDEA_DEVICES[self._device.device_type]["entities"][entity_key]
+ self._config = cast(dict, MIDEA_DEVICES[self._device.device_type]["entities"])[
+ entity_key
+ ]
self._entity_key = entity_key
self._unique_id = f"{DOMAIN}.{self._device.device_id}_{entity_key}"
self.entity_id = self._unique_id
diff --git a/custom_components/midea_ac_lan/translations/fr.json b/custom_components/midea_ac_lan/translations/fr.json
index 5ae11321..c40e034e 100644
--- a/custom_components/midea_ac_lan/translations/fr.json
+++ b/custom_components/midea_ac_lan/translations/fr.json
@@ -1,119 +1,119 @@
{
- "config": {
- "error": {
- "preset_account": "Failed to login with preset account, please report this issue",
- "login_failed": "Failed to login, account or password was wrong",
- "no_devices": "Aucun nouvel appareil trouvé sur le réseau",
- "device_exist": "L'appareil est déjà configurée",
- "config_incorrect": "La configuration est incorrecte",
- "connect_error": "Impossible de se connecter à l'appareil",
- "invalid_token": "Token ou Key dans un format incorrect"
+ "config": {
+ "error": {
+ "preset_account": "Failed to login with preset account, please report this issue",
+ "login_failed": "Failed to login, account or password was wrong",
+ "no_devices": "Aucun nouvel appareil trouvé sur le réseau",
+ "device_exist": "L'appareil est déjà configurée",
+ "config_incorrect": "La configuration est incorrecte",
+ "connect_error": "Impossible de se connecter à l'appareil",
+ "invalid_token": "Token ou Key dans un format incorrect"
+ },
+ "step": {
+ "user": {
+ "data": {
+ "way": "Ajout d'appareil"
+ },
+ "description": "Choisissez comment ajouter des appareils",
+ "title": "Ajouter un nouvel appareil"
+ },
+ "login": {
+ "data": {
+ "account": "Account",
+ "password": "Password"
},
- "step": {
- "user": {
- "data": {
- "way": "Ajout d'appareil"
- },
- "description": "Choisissez comment ajouter des appareils",
- "title": "Ajouter un nouvel appareil"
- },
- "login": {
- "data": {
- "account": "Account",
- "password": "Password"
- },
- "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
- "title": "Login"
- },
- "discovery": {
- "description": "Saisissez l'adresse IP de l'appareil, entrez \"auto\" pour découvrir automatiquement.\nVous pouvez également utiliser une adresse IP pour rechercher dans un réseau spécifié, comme \"192.168.1.255\".",
- "title": "Recherche",
- "data": {
- "ip_address": "Adresse IP"
- }
- },
- "list":{
- "description": "{table}",
- "title": "Appareil"
- },
- "auto": {
- "data": {
- "device": "Appareil"
- },
- "description": "Choisissez un appareil à ajouter",
- "title": "Nouvel appareil trouvé"
- },
- "manually": {
- "data": {
- "name": "Nom (ex: Clim Salon)",
- "device_id": "Code appareil",
- "type": "Type",
- "ip_address": "Adresse IP",
- "port": "Port",
- "model": "Modèle",
- "subtype": "Soustype",
- "protocol": "Protocole",
- "token": "Token",
- "key": "Key"
- },
- "description": "Configuration de l'appareil",
- "title": "Nouvel appareil"
- }
+ "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
+ "title": "Login"
+ },
+ "discovery": {
+ "description": "Saisissez l'adresse IP de l'appareil, entrez \"auto\" pour découvrir automatiquement.\nVous pouvez également utiliser une adresse IP pour rechercher dans un réseau spécifié, comme \"192.168.1.255\".",
+ "title": "Recherche",
+ "data": {
+ "ip_address": "Adresse IP"
}
+ },
+ "list": {
+ "description": "{table}",
+ "title": "Appareil"
+ },
+ "auto": {
+ "data": {
+ "device": "Appareil"
+ },
+ "description": "Choisissez un appareil à ajouter",
+ "title": "Nouvel appareil trouvé"
+ },
+ "manually": {
+ "data": {
+ "name": "Nom (ex: Clim Salon)",
+ "device_id": "Code appareil",
+ "type": "Type",
+ "ip_address": "Adresse IP",
+ "port": "Port",
+ "model": "Modèle",
+ "subtype": "Soustype",
+ "protocol": "Protocole",
+ "token": "Token",
+ "key": "Key"
+ },
+ "description": "Configuration de l'appareil",
+ "title": "Nouvel appareil"
+ }
+ }
+ },
+ "options": {
+ "step": {
+ "init": {
+ "data": {
+ "ip_address": "Adresse IP",
+ "refresh_interval": "Refresh interval (0 means not refreshing actively)",
+ "sensors": "Capteurs supplémentaire",
+ "switches": "Contrôles supplémentaire",
+ "customize": "Personnaliser"
+ },
+ "title": "Configurer"
+ }
},
- "options": {
- "step": {
- "init": {
- "data": {
- "ip_address": "Adresse IP",
- "refresh_interval": "Refresh interval (0 means not refreshing actively)",
- "sensors": "Capteurs supplémentaire",
- "switches": "Contrôles supplémentaire",
- "customize": "Personnaliser"
- },
- "title": "Configurer"
- }
+ "abort": {
+ "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ }
+ },
+ "services": {
+ "set_attribute": {
+ "name": "Définir l'attribut",
+ "description": "Définir la valeur d'attribut de l'appareil",
+ "fields": {
+ "device_id": {
+ "name": "Code appareil",
+ "description": "Code de l'appareil (ID de l'appareil)"
},
- "abort": {
- "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ "attribute": {
+ "name": "Attribut",
+ "description": "Nom de l'attribut que vous souhaitez définir"
+ },
+ "value": {
+ "name": "Valeur",
+ "description": "Valeur d'attribut que vous souhaitez définir"
}
+ }
},
- "services": {
- "set_attribute": {
- "name": "Définir l'attribut",
- "description": "Définir la valeur d'attribut de l'appareil",
- "fields" : {
- "device_id": {
- "name": "Code appareil",
- "description": "Code de l'appareil (ID de l'appareil)"
- },
- "attribute": {
- "name": "Attribut",
- "description": "Nom de l'attribut que vous souhaitez définir"
- },
- "value": {
- "name": "Valeur",
- "description": "Valeur d'attribut que vous souhaitez définir"
- }
- }
+ "send_command": {
+ "name": "Customize command",
+ "description": "Send a customize command to device",
+ "fields": {
+ "device_id": {
+ "name": "Code appareil",
+ "description": "Code de l'appareil (ID de l'appareil)"
+ },
+ "cmd_type": {
+ "name": "command type",
+ "description": "The type of command,should be 3(query) or 2(set)"
},
- "send_command": {
- "name": "Customize command",
- "description": "Send a customize command to device",
- "fields" : {
- "device_id": {
- "name": "Code appareil",
- "description": "Code de l'appareil (ID de l'appareil)"
- },
- "cmd_type": {
- "name": "command type",
- "description": "The type of command,should be 3(query) or 2(set)"
- },
- "cmd_body": {
- "name": "command body",
- "description": "The body of command, (not include MSmart protocol head and cheksum at the end)"
- }
- }
+ "cmd_body": {
+ "name": "command body",
+ "description": "The body of command, (not include MSmart protocol head and cheksum at the end)"
}
+ }
}
+ }
}
diff --git a/custom_components/midea_ac_lan/translations/ru.json b/custom_components/midea_ac_lan/translations/ru.json
index 914f4a53..465b06cd 100644
--- a/custom_components/midea_ac_lan/translations/ru.json
+++ b/custom_components/midea_ac_lan/translations/ru.json
@@ -1,119 +1,119 @@
{
- "config": {
- "error": {
- "preset_account": "Failed to login with preset account, please report this issue",
- "login_failed": "Failed to login, account or password was wrong",
- "no_devices": "Новые доступные устройства в локальной сети не найдены",
- "device_exist": "Устройство уже настроено",
- "config_incorrect": "Некорректная конфигурация",
- "connect_error": "Не удается подключиться к устройству",
- "invalid_token": "Некорректный формат Token или Key"
+ "config": {
+ "error": {
+ "preset_account": "Failed to login with preset account, please report this issue",
+ "login_failed": "Failed to login, account or password was wrong",
+ "no_devices": "Новые доступные устройства в локальной сети не найдены",
+ "device_exist": "Устройство уже настроено",
+ "config_incorrect": "Некорректная конфигурация",
+ "connect_error": "Не удается подключиться к устройству",
+ "invalid_token": "Некорректный формат Token или Key"
+ },
+ "step": {
+ "user": {
+ "data": {
+ "way": "Добавление устройства"
+ },
+ "description": "Выберите способ добавления устройств",
+ "title": "Добавить новое устройство"
+ },
+ "login": {
+ "data": {
+ "account": "Account",
+ "password": "Password"
},
- "step": {
- "user": {
- "data": {
- "way": "Добавление устройства"
- },
- "description": "Выберите способ добавления устройств",
- "title": "Добавить новое устройство"
- },
- "login": {
- "data": {
- "account": "Account",
- "password": "Password"
- },
- "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
- "title": "Login"
- },
- "discovery": {
- "description": "Введите IP-адрес устройства, введите \"auto\", чтобы автоматически обнаружить\nВы также можете использовать IP-адрес для поиска в определенной сети, например, \"192.168.1.255\"",
- "title": "Поиск",
- "data": {
- "ip_address": "IP-адрес"
- }
- },
- "list":{
- "description": "{table}",
- "title": "Устройства"
- },
- "auto": {
- "data": {
- "device": "Устройства"
- },
- "description": "Выберите устройство для добавления",
- "title": "Найдено новое устройство"
- },
- "manually": {
- "data": {
- "name": "Название (например, Кондиционер в гостиной)",
- "device_id": "Идентификатор устройства",
- "type": "Тип",
- "ip_address": "IP-адрес",
- "port": "Порт",
- "model": "Модель",
- "subtype": "Подтип",
- "protocol": "Протокол",
- "token": "Token",
- "key": "Key"
- },
- "description": "Настройка устройства",
- "title": "Новое устройство"
- }
+ "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
+ "title": "Login"
+ },
+ "discovery": {
+ "description": "Введите IP-адрес устройства, введите \"auto\", чтобы автоматически обнаружить\nВы также можете использовать IP-адрес для поиска в определенной сети, например, \"192.168.1.255\"",
+ "title": "Поиск",
+ "data": {
+ "ip_address": "IP-адрес"
}
+ },
+ "list": {
+ "description": "{table}",
+ "title": "Устройства"
+ },
+ "auto": {
+ "data": {
+ "device": "Устройства"
+ },
+ "description": "Выберите устройство для добавления",
+ "title": "Найдено новое устройство"
+ },
+ "manually": {
+ "data": {
+ "name": "Название (например, Кондиционер в гостиной)",
+ "device_id": "Идентификатор устройства",
+ "type": "Тип",
+ "ip_address": "IP-адрес",
+ "port": "Порт",
+ "model": "Модель",
+ "subtype": "Подтип",
+ "protocol": "Протокол",
+ "token": "Token",
+ "key": "Key"
+ },
+ "description": "Настройка устройства",
+ "title": "Новое устройство"
+ }
+ }
+ },
+ "options": {
+ "step": {
+ "init": {
+ "data": {
+ "ip_address": "IP-адрес",
+ "refresh_interval": "Интервал обновления (0 не выполняет активное обновление)",
+ "sensors": "Доп. сенсоры",
+ "switches": "Доп. элементы управления",
+ "customize": "Настроить"
+ },
+ "title": "Конфигурация"
+ }
},
- "options": {
- "step": {
- "init": {
- "data": {
- "ip_address": "IP-адрес",
- "refresh_interval": "Интервал обновления (0 не выполняет активное обновление)",
- "sensors": "Доп. сенсоры",
- "switches": "Доп. элементы управления",
- "customize": "Настроить"
- },
- "title": "Конфигурация"
- }
+ "abort": {
+ "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ }
+ },
+ "services": {
+ "set_attribute": {
+ "name": "Установить атрибут",
+ "description": "Установить значение атрибута устройства",
+ "fields": {
+ "device_id": {
+ "name": "Идентификатор устройства",
+ "description": "Код (Идентификатор) устройства"
},
- "abort": {
- "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ "attribute": {
+ "name": "Атрибут",
+ "description": "Название атрибута для установки"
+ },
+ "value": {
+ "name": "Значение",
+ "description": "Значение атрибута для установки"
}
+ }
},
- "services": {
- "set_attribute": {
- "name": "Установить атрибут",
- "description": "Установить значение атрибута устройства",
- "fields" : {
- "device_id": {
- "name": "Идентификатор устройства",
- "description": "Код (Идентификатор) устройства"
- },
- "attribute": {
- "name": "Атрибут",
- "description": "Название атрибута для установки"
- },
- "value": {
- "name": "Значение",
- "description": "Значение атрибута для установки"
- }
- }
+ "send_command": {
+ "name": "Пользовательская команда",
+ "description": "Отправить пользовательскую команду на устройство",
+ "fields": {
+ "device_id": {
+ "name": "Идентификатор устройства",
+ "description": "Код (Идентификатор) устройства"
+ },
+ "cmd_type": {
+ "name": "Тип команды",
+ "description": "Тип команды, может быть 3 (запрос) или 2 (установка значения)"
},
- "send_command": {
- "name": "Пользовательская команда",
- "description": "Отправить пользовательскую команду на устройство",
- "fields" : {
- "device_id": {
- "name": "Идентификатор устройства",
- "description": "Код (Идентификатор) устройства"
- },
- "cmd_type": {
- "name": "Тип команды",
- "description": "Тип команды, может быть 3 (запрос) или 2 (установка значения)"
- },
- "cmd_body": {
- "name": "Тело команды",
- "description": "Тело команды (без заголовков протокола MSmart и контрольной суммы в конце)"
- }
- }
+ "cmd_body": {
+ "name": "Тело команды",
+ "description": "Тело команды (без заголовков протокола MSmart и контрольной суммы в конце)"
}
+ }
}
+ }
}
diff --git a/custom_components/midea_ac_lan/translations/sk.json b/custom_components/midea_ac_lan/translations/sk.json
index 08adf1c1..288f7d14 100644
--- a/custom_components/midea_ac_lan/translations/sk.json
+++ b/custom_components/midea_ac_lan/translations/sk.json
@@ -1,119 +1,119 @@
{
- "config": {
- "error": {
- "preset_account": "Failed to login with preset account, please report this issue",
- "login_failed": "Failed to login, account or password was wrong",
- "no_devices": "V sieti sa nenašli žiadne nové dostupné zariadenia",
- "device_exist": "Spotrebič je už nakonfigurovaný",
- "config_incorrect": "Konfigurácia je nesprávna",
- "connect_error": "Nedá sa pripojiť k spotrebiču",
- "invalid_token": "Token alebo Key v nesprávnom formáte"
+ "config": {
+ "error": {
+ "preset_account": "Failed to login with preset account, please report this issue",
+ "login_failed": "Failed to login, account or password was wrong",
+ "no_devices": "V sieti sa nenašli žiadne nové dostupné zariadenia",
+ "device_exist": "Spotrebič je už nakonfigurovaný",
+ "config_incorrect": "Konfigurácia je nesprávna",
+ "connect_error": "Nedá sa pripojiť k spotrebiču",
+ "invalid_token": "Token alebo Key v nesprávnom formáte"
+ },
+ "step": {
+ "user": {
+ "data": {
+ "way": "Pridávanie spotrebičov"
+ },
+ "description": "Vyberte spôsob pridávania zariadení",
+ "title": "Pridať nový spotrebič"
+ },
+ "login": {
+ "data": {
+ "account": "Account",
+ "password": "Password"
},
- "step": {
- "user": {
- "data": {
- "way": "Pridávanie spotrebičov"
- },
- "description": "Vyberte spôsob pridávania zariadení",
- "title": "Pridať nový spotrebič"
- },
- "login": {
- "data": {
- "account": "Account",
- "password": "Password"
- },
- "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
- "title": "Login"
- },
- "discovery": {
- "description": "Zadajte IP adresu pre zariadenie, zadajte \"auto\" pre automatické vyhľadávanie.\nNa vyhľadávanie v rámci určitej siete môžete použiť aj IP adresu, napríklad \"192.168.1.255\".",
- "title": "Hľadať",
- "data": {
- "ip_address": "IP adresa"
- }
- },
- "list":{
- "description": "{table}",
- "title": "Spotrebiče"
- },
- "auto": {
- "data": {
- "device": "Spotrebiče"
- },
- "description": "Vyberte zariadenie, ktoré chcete pridať",
- "title": "Našiel sa nový spotrebič"
- },
- "manually": {
- "data": {
- "name": "Názov (napr. AC obývačka)",
- "device_id": "Kód spotrebiča",
- "type": "Typ",
- "ip_address": "IP adresa",
- "port": "Port",
- "model": "Model",
- "subtype": "Podtyp",
- "protocol": "Protokol",
- "token": "Token",
- "key": "Key"
- },
- "description": "Konfigurácia spotrebiča",
- "title": "Nový spotrebič"
- }
+ "description": "Login and storage your Midea account only for getting the appliance info.\nYou can remove this configuration after all appliance configured.",
+ "title": "Login"
+ },
+ "discovery": {
+ "description": "Zadajte IP adresu pre zariadenie, zadajte \"auto\" pre automatické vyhľadávanie.\nNa vyhľadávanie v rámci určitej siete môžete použiť aj IP adresu, napríklad \"192.168.1.255\".",
+ "title": "Hľadať",
+ "data": {
+ "ip_address": "IP adresa"
}
+ },
+ "list": {
+ "description": "{table}",
+ "title": "Spotrebiče"
+ },
+ "auto": {
+ "data": {
+ "device": "Spotrebiče"
+ },
+ "description": "Vyberte zariadenie, ktoré chcete pridať",
+ "title": "Našiel sa nový spotrebič"
+ },
+ "manually": {
+ "data": {
+ "name": "Názov (napr. AC obývačka)",
+ "device_id": "Kód spotrebiča",
+ "type": "Typ",
+ "ip_address": "IP adresa",
+ "port": "Port",
+ "model": "Model",
+ "subtype": "Podtyp",
+ "protocol": "Protokol",
+ "token": "Token",
+ "key": "Key"
+ },
+ "description": "Konfigurácia spotrebiča",
+ "title": "Nový spotrebič"
+ }
+ }
+ },
+ "options": {
+ "step": {
+ "init": {
+ "data": {
+ "ip_address": "IP adresa",
+ "refresh_interval": "Refresh interval (0 means not refreshing actively)",
+ "sensors": "Extra Snímače",
+ "switches": "Extra Ovládacie prvky",
+ "customize": "Voliteľné"
+ },
+ "title": "Konfigurovať"
+ }
},
- "options": {
- "step": {
- "init": {
- "data": {
- "ip_address": "IP adresa",
- "refresh_interval": "Refresh interval (0 means not refreshing actively)",
- "sensors": "Extra Snímače",
- "switches": "Extra Ovládacie prvky",
- "customize": "Voliteľné"
- },
- "title": "Konfigurovať"
- }
+ "abort": {
+ "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ }
+ },
+ "services": {
+ "set_attribute": {
+ "name": "Nastaviť atribút",
+ "description": "Nastavte hodnotu atribútu zariadenia",
+ "fields": {
+ "device_id": {
+ "name": "Kód spotrebiča",
+ "description": "Kód spotrebiča (ID zariadenia) spotrebiča"
},
- "abort": {
- "account_option": "The account does not supports this operation.\nClick \"ADD DEVICE\" to add a new device."
+ "attribute": {
+ "name": "Atribút",
+ "description": "Názov atribútu, ktorý chcete nastaviť"
+ },
+ "value": {
+ "name": "Hodnota",
+ "description": "Hodnota atribútu, ktorú chcete nastaviť"
}
+ }
},
- "services": {
- "set_attribute": {
- "name": "Nastaviť atribút",
- "description": "Nastavte hodnotu atribútu zariadenia",
- "fields" : {
- "device_id": {
- "name": "Kód spotrebiča",
- "description": "Kód spotrebiča (ID zariadenia) spotrebiča"
- },
- "attribute": {
- "name": "Atribút",
- "description": "Názov atribútu, ktorý chcete nastaviť"
- },
- "value": {
- "name": "Hodnota",
- "description": "Hodnota atribútu, ktorú chcete nastaviť"
- }
- }
+ "send_command": {
+ "name": "Prispôsobiť príkaz",
+ "description": "Pošlite do zariadenia príkaz na prispôsobenie",
+ "fields": {
+ "device_id": {
+ "name": "Kód spotrebiča",
+ "description": "Kód spotrebiča (ID zariadenia) spotrebiča"
+ },
+ "cmd_type": {
+ "name": "typ príkazu",
+ "description": "Typ príkazu by mal byť 3 (dopyt) alebo 2 (nastaviť)"
},
- "send_command": {
- "name": "Prispôsobiť príkaz",
- "description": "Pošlite do zariadenia príkaz na prispôsobenie",
- "fields" : {
- "device_id": {
- "name": "Kód spotrebiča",
- "description": "Kód spotrebiča (ID zariadenia) spotrebiča"
- },
- "cmd_type": {
- "name": "typ príkazu",
- "description": "Typ príkazu by mal byť 3 (dopyt) alebo 2 (nastaviť)"
- },
- "cmd_body": {
- "name": "obsah príkazu",
- "description": "Obsah príkazu, (nezahŕňa hlavičku protokolu MSmart a kontrolný súčet na konci)"
- }
- }
+ "cmd_body": {
+ "name": "obsah príkazu",
+ "description": "Obsah príkazu, (nezahŕňa hlavičku protokolu MSmart a kontrolný súčet na konci)"
}
+ }
}
+ }
}
diff --git a/custom_components/midea_ac_lan/translations/zh-Hans.json b/custom_components/midea_ac_lan/translations/zh-Hans.json
index bb68410c..4e5e5b15 100644
--- a/custom_components/midea_ac_lan/translations/zh-Hans.json
+++ b/custom_components/midea_ac_lan/translations/zh-Hans.json
@@ -1,119 +1,119 @@
{
- "config": {
- "error": {
- "preset_account": "预置账户登录失败,请报告此问题",
- "login_failed": "登录失败, 用户名或密码错",
- "no_devices": "未在网络上发现可用新设备",
- "device_exist": "设备已经存在, 请添加其它设备",
- "config_incorrect": "配置信息不正确, 请检查后重新输入",
- "connect_error": "无法连接到指定设备",
- "invalid_token": "Token或Key格式不正确"
+ "config": {
+ "error": {
+ "preset_account": "预置账户登录失败,请报告此问题",
+ "login_failed": "登录失败, 用户名或密码错",
+ "no_devices": "未在网络上发现可用新设备",
+ "device_exist": "设备已经存在, 请添加其它设备",
+ "config_incorrect": "配置信息不正确, 请检查后重新输入",
+ "connect_error": "无法连接到指定设备",
+ "invalid_token": "Token或Key格式不正确"
+ },
+ "step": {
+ "user": {
+ "data": {
+ "way": "添加方式"
+ },
+ "description": "选择添加设备的方式",
+ "title": "添加新设备"
+ },
+ "login": {
+ "data": {
+ "account": "账号",
+ "password": "密码"
},
- "step": {
- "user": {
- "data": {
- "way": "添加方式"
- },
- "description": "选择添加设备的方式",
- "title": "添加新设备"
- },
- "login": {
- "data": {
- "account": "账号",
- "password": "密码"
- },
- "description": "登录并保存你的美的账户,仅用于获取添加设备时设备信息\n添加设备完成后,你可以删除该配置",
- "title": "登录"
- },
- "discovery": {
- "description": "输入设备的IP地址, 输入\"auto\"自动搜索设备\n你也可以使用IP地址在指定网络中搜索, 比如`192.168.1.255`",
- "title": "搜索",
- "data": {
- "ip_address": "IP地址"
- }
- },
- "list":{
- "description": "{table}",
- "title": "设备"
- },
- "auto": {
- "data": {
- "device": "设备"
- },
- "description": "选择设备并添加",
- "title": "发现新设备"
- },
- "manually": {
- "data": {
- "name": "名称(如客厅空调)",
- "device_id": "设备编号",
- "type": "设备类型",
- "ip_address": "IP地址",
- "port": "端口",
- "model": "型号",
- "subtype": "子型号",
- "protocol": "协议版本",
- "token": "Token",
- "key": "Key"
- },
- "description": "配置设备参数",
- "title": "新设备"
- }
+ "description": "登录并保存你的美的账户,仅用于获取添加设备时设备信息\n添加设备完成后,你可以删除该配置",
+ "title": "登录"
+ },
+ "discovery": {
+ "description": "输入设备的IP地址, 输入\"auto\"自动搜索设备\n你也可以使用IP地址在指定网络中搜索, 比如`192.168.1.255`",
+ "title": "搜索",
+ "data": {
+ "ip_address": "IP地址"
}
+ },
+ "list": {
+ "description": "{table}",
+ "title": "设备"
+ },
+ "auto": {
+ "data": {
+ "device": "设备"
+ },
+ "description": "选择设备并添加",
+ "title": "发现新设备"
+ },
+ "manually": {
+ "data": {
+ "name": "名称(如客厅空调)",
+ "device_id": "设备编号",
+ "type": "设备类型",
+ "ip_address": "IP地址",
+ "port": "端口",
+ "model": "型号",
+ "subtype": "子型号",
+ "protocol": "协议版本",
+ "token": "Token",
+ "key": "Key"
+ },
+ "description": "配置设备参数",
+ "title": "新设备"
+ }
+ }
+ },
+ "options": {
+ "step": {
+ "init": {
+ "data": {
+ "ip_address": "IP地址",
+ "refresh_interval": "刷新间隔(设0为不进行主动刷新)",
+ "sensors": "扩展传感器",
+ "switches": "扩展控制",
+ "customize": "自定义"
+ },
+ "title": "配置"
+ }
},
- "options": {
- "step": {
- "init": {
- "data": {
- "ip_address": "IP地址",
- "refresh_interval": "刷新间隔(设0为不进行主动刷新)",
- "sensors": "扩展传感器",
- "switches": "扩展控制",
- "customize": "自定义"
- },
- "title": "配置"
- }
+ "abort": {
+ "account_option": "账户配置不支持此操作.\n点击\"添加设备\"完成添加新设备的操作"
+ }
+ },
+ "services": {
+ "set_attribute": {
+ "name": "设置属性",
+ "description": "设置设备的属性值",
+ "fields": {
+ "device_id": {
+ "name": "设备编码",
+ "description": "设备编码(Deivce ID)"
},
- "abort": {
- "account_option": "账户配置不支持此操作.\n点击\"添加设备\"完成添加新设备的操作"
+ "attribute": {
+ "name": "属性",
+ "description": "要设置的属性名称"
+ },
+ "value": {
+ "name": "值",
+ "description": "要设置的属性值"
}
+ }
},
- "services": {
- "set_attribute": {
- "name": "设置属性",
- "description": "设置设备的属性值",
- "fields" : {
- "device_id": {
- "name": "设备编码",
- "description": "设备编码(Deivce ID)"
- },
- "attribute": {
- "name": "属性",
- "description": "要设置的属性名称"
- },
- "value": {
- "name": "值",
- "description": "要设置的属性值"
- }
- }
+ "send_command": {
+ "name": "自定义命令",
+ "description": "向设备发送一个自定义命令",
+ "fields": {
+ "device_id": {
+ "name": "设备编码",
+ "description": "设备编码(Device ID)"
+ },
+ "cmd_type": {
+ "name": "命令类型",
+ "description": "命令类型,可以为2(查询)或3(设置)"
},
- "send_command": {
- "name": "自定义命令",
- "description": "向设备发送一个自定义命令",
- "fields" : {
- "device_id": {
- "name": "设备编码",
- "description": "设备编码(Device ID)"
- },
- "cmd_type": {
- "name": "命令类型",
- "description": "命令类型,可以为2(查询)或3(设置)"
- },
- "cmd_body": {
- "name": "命令体",
- "description": "命令的消息体(不包括前部的MSmart协议头及后部的校验码)"
- }
- }
+ "cmd_body": {
+ "name": "命令体",
+ "description": "命令的消息体(不包括前部的MSmart协议头及后部的校验码)"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/doc/13.md b/doc/13.md
index 5b3adc02..6b7dea49 100644
--- a/doc/13.md
+++ b/doc/13.md
@@ -1,5 +1,7 @@
# Light
+
## Features
+
- Supports Brightness
- Supports Color Temperature
- Supports Effect (Scene)
@@ -9,20 +11,21 @@
Set the light's color temperature range in Kelvin ([2700, 6500] by default).
```json
-{"color_temp_range_kelvin": [2000, 6800]}
+{ "color_temp_range_kelvin": [2000, 6800] }
```
## Entities
+
### Default entity
-| EntityID | Class | Description |
-|------------------------|-------|--------------|
-| light.{DEVICEID}_light | light | Light entity |
+
+| EntityID | Class | Description |
+| ----------------------- | ----- | ------------ |
+| light.{DEVICEID}\_light | light | Light entity |
### Extra entity
No extra entity
-
## Service
-No Service
\ No newline at end of file
+No Service
diff --git a/doc/13_hans.md b/doc/13_hans.md
index ed751175..9e31c14f 100644
--- a/doc/13_hans.md
+++ b/doc/13_hans.md
@@ -1,5 +1,7 @@
# 智能灯
+
## 特性
+
- 支持亮度调节
- 支持色温调节
- 支持灯效(场景)调节
@@ -9,18 +11,21 @@
设置灯的以开尔文表示的色温范围 (默认为[2700, 6500]).
```json
-{"color_temp_range_kelvin": [2000, 6800]}
+{ "color_temp_range_kelvin": [2000, 6800] }
```
## 实体
+
### 默认实体
-| 实体ID | 类型 | 描述 |
-|------------------------|-------|-----|
-| light.{DEVICEID}_light | light | 灯实体 |
+
+| 实体ID | 类型 | 描述 |
+| ----------------------- | ----- | ------ |
+| light.{DEVICEID}\_light | light | 灯实体 |
### 扩展传感器
-无扩展传感器
+无扩展传感器
## 服务
-无服务
\ No newline at end of file
+
+无服务
diff --git a/doc/34.md b/doc/34.md
index df7a1a95..09d61002 100644
--- a/doc/34.md
+++ b/doc/34.md
@@ -1,30 +1,33 @@
# Sink Dishwasher
+
- As far as we know, the sink dishwasher is consistent with the dishwasher control logic.
## Entities
+
### Default entity
+
No default entity
### Extra entities
-| EntityID | Class | Description |
-|-------------------------------------|---------------|------------------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door |
-| binary_sensor.{DEVICEID}_rinse_aid | binary_sensor | Rinse Aid Shortage |
-| binary_sensor.{DEVICEID}_salt | binary_sensor | Salt Shortage |
-| sensor.{DEVICEID}_humidity | sensor | Humidity |
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_status | sensor | Status |
-| sensor.{DEVICEID}_storage_remaining | sensor | Storage Time Remaining |
-| sensor.{DEVICEID}_temperature | sensor | Temperature |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| sensor.{DEVICEID}_mode | sensor | Mode |
-| sensor.{DEVICEID}_error_code | sensor | Error Code |
-| sensor.{DEVICEID}_softwater | sensor | Softwater Level |
-| sensor.{DEVICEID}_bright | sensor | Bright Level |
-| lock.{DEVICEID}_child_lock | lock | Child Lock |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_storage | switch | Storage |
+| EntityID | Class | Description |
+| ------------------------------------ | ------------- | ---------------------- |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door |
+| binary_sensor.{DEVICEID}\_rinse_aid | binary_sensor | Rinse Aid Shortage |
+| binary_sensor.{DEVICEID}\_salt | binary_sensor | Salt Shortage |
+| sensor.{DEVICEID}\_humidity | sensor | Humidity |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_status | sensor | Status |
+| sensor.{DEVICEID}\_storage_remaining | sensor | Storage Time Remaining |
+| sensor.{DEVICEID}\_temperature | sensor | Temperature |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| sensor.{DEVICEID}\_mode | sensor | Mode |
+| sensor.{DEVICEID}\_error_code | sensor | Error Code |
+| sensor.{DEVICEID}\_softwater | sensor | Softwater Level |
+| sensor.{DEVICEID}\_bright | sensor | Bright Level |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_storage | switch | Storage |
## Service
@@ -35,16 +38,17 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"power"
"storage" |
| value | true or false |
Example
+
```yaml
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: power
value: true
-```
\ No newline at end of file
+```
diff --git a/doc/40_hans.md b/doc/40_hans.md
index ff91b7da..6df99f08 100644
--- a/doc/40_hans.md
+++ b/doc/40_hans.md
@@ -1,23 +1,27 @@
# 凉霸
+
## Features
+
- 支持风速调整
- 支持摇摆设定
## 实体
+
### 默认实体
-| 实体ID | 类型 | 描述 |
-|--------------------|-----|--------|
-| fan.{DEVICEID}_fan | fan | Fan 实体 |
+
+| 实体ID | 类型 | 描述 |
+| ------------------- | ---- | -------- |
+| fan.{DEVICEID}\_fan | fan | Fan 实体 |
### 扩展实体
-| 实体ID | 类型 | 名称 | 描述 |
-|---------------------------------------|--------|---------------------|-------|
-| sensor.{DEVICEID}_current_temperature | select | Current Temperature | 当前温度 |
-| switch.{DEVICEID}_light | switch | Light | 灯 |
-| select.{DEVICEID}_ventilation | switch | Ventilation | 通风 |
-| select.{DEVICEID}_smelly_sensor | switch | smelly Sensor | 异味传感器 |
-| select.{DEVICEID}_direction | select | Direction | 摇摆方向 |
+| 实体ID | 类型 | 名称 | 描述 |
+| -------------------------------------- | ------ | ------------------- | ---------- |
+| sensor.{DEVICEID}\_current_temperature | select | Current Temperature | 当前温度 |
+| switch.{DEVICEID}\_light | switch | Light | 灯 |
+| select.{DEVICEID}\_ventilation | switch | Ventilation | 通风 |
+| select.{DEVICEID}\_smelly_sensor | switch | smelly Sensor | 异味传感器 |
+| select.{DEVICEID}\_direction | select | Direction | 摇摆方向 |
## 服务
@@ -27,20 +31,20 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|-----------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | --------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "light"
"ventilation"
"smelly_sensor" |
| value | true or false |
-| 名称 | 描述 |
-|-----------|-------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ----------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "directions" |
| value | 60
70
80
90
100
"Oscillate" |
-
示例
+
```yaml
service: midea_ac_lan.set_attribute
data:
@@ -55,4 +59,4 @@ data:
device_id: XXXXXXXXXXXX
attribute: directions
value: 100
-```
\ No newline at end of file
+```
diff --git a/doc/A1.md b/doc/A1.md
index 349749db..504bdcfb 100644
--- a/doc/A1.md
+++ b/doc/A1.md
@@ -1,31 +1,35 @@
# Dehumidifier
+
## Features
+
- Supports preset mode
- Supports fan mode
- Supports swing
- Supports humidity setting
## Entities
+
### Default entity
-| EntityID | Class | Description |
-|----------------------------------|------------|-------------------|
-| humidifier.{DEVICEID}_humidifier | humidifier | Humidifier entity |
+
+| EntityID | Class | Description |
+| --------------------------------- | ---------- | ----------------- |
+| humidifier.{DEVICEID}\_humidifier | humidifier | Humidifier entity |
### Extra entities
-| EntityID | Class | Description |
-|---------------------------------------|---------------|---------------------|
-| sensor.{DEVICEID}_tank_full | binary_sensor | Tank Status |
-| sensor.{DEVICEID}_tank | sensor | Tank |
-| sensor.{DEVICEID}_current_humidity | sensor | Current Humidity |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
-| lock.{DEVICEID}_child_lock | lock | Child Lock |
-| switch.{DEVICEID}_anion | switch | Anion |
-| switch.{DEVICEID}_prompt_tone | switch | Prompt Tone |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_swing | switch | Swing |
-| select.{DEVICEID}_fan_speed | select | Fan Speed |
-| select.{DEVICEID}_water_level_set | select | Water Level Setting |
+| EntityID | Class | Description |
+| -------------------------------------- | ------------- | ------------------- |
+| sensor.{DEVICEID}\_tank_full | binary_sensor | Tank Status |
+| sensor.{DEVICEID}\_tank | sensor | Tank |
+| sensor.{DEVICEID}\_current_humidity | sensor | Current Humidity |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock |
+| switch.{DEVICEID}\_anion | switch | Anion |
+| switch.{DEVICEID}\_prompt_tone | switch | Prompt Tone |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_swing | switch | Swing |
+| select.{DEVICEID}\_fan_speed | select | Fan Speed |
+| select.{DEVICEID}\_water_level_set | select | Water Level Setting |
## Service
@@ -36,24 +40,25 @@
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|--------------------------------------------------------------------|
+| --------- | ------------------------------------------------------------------ |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"anion"
"prompt_tone"
"power"
"swing" |
| value | true or false |
| Name | Description |
-|-----------|-----------------------------------------------------------------|
+| --------- | --------------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "fan_speed" |
| value | "Lowest"
"Low"
"Medium"
"High"
"Auto"
"Off" |
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "water_level_set" |
| value | "25"
"50"
"75"
"100" |
Example
+
```yaml
service: midea_ac_lan.set_attribute
data:
@@ -68,4 +73,4 @@ data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: Medium
-```
\ No newline at end of file
+```
diff --git a/doc/A1_hans.md b/doc/A1_hans.md
index 8a0d93ea..d77ca385 100644
--- a/doc/A1_hans.md
+++ b/doc/A1_hans.md
@@ -1,31 +1,35 @@
# 家用空调
+
## 特性
+
- 支持运行模式
- 支持风扇模式设定
- 支持摆风
- 支持湿度设定
## 生成实体
+
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|----------------------------------|------------|-------|
-| humidifier.{DEVICEID}_humidifier | humidifier | 加湿器实体 |
+
+| 实体ID | 类型 | 描述 |
+| --------------------------------- | ---------- | ---------- |
+| humidifier.{DEVICEID}\_humidifier | humidifier | 加湿器实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|---------------------------------------|---------------|---------------------|----------|
-| sensor.{DEVICEID}_tank_full | binary_sensor | Tank Full | 水箱已达设置水位 |
-| sensor.{DEVICEID}_tank | sensor | Tank | 水箱水位 |
-| sensor.{DEVICEID}_current_humidity | sensor | Current Humidity | 当前湿度 |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
-| lock.{DEVICEID}_child_lock | lock | Child Lock | 童锁 |
-| switch.{DEVICEID}_anion | switch | Anion | 负离子开关 |
-| switch.{DEVICEID}_prompt_tone | switch | Prompt Tone | 提示音 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_swing | switch | Swing | 摆风开关 |
-| select.{DEVICEID}_fan_speed | select | Fan Speed | 风速设定 |
-| select.{DEVICEID}_water_level_set | select | Water Level Setting | 水位设定 |
+| EntityID | 类型 | 名称 | 描述 |
+| -------------------------------------- | ------------- | ------------------- | ---------------- |
+| sensor.{DEVICEID}\_tank_full | binary_sensor | Tank Full | 水箱已达设置水位 |
+| sensor.{DEVICEID}\_tank | sensor | Tank | 水箱水位 |
+| sensor.{DEVICEID}\_current_humidity | sensor | Current Humidity | 当前湿度 |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | 当前温度 |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock | 童锁 |
+| switch.{DEVICEID}\_anion | switch | Anion | 负离子开关 |
+| switch.{DEVICEID}\_prompt_tone | switch | Prompt Tone | 提示音 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_swing | switch | Swing | 摆风开关 |
+| select.{DEVICEID}\_fan_speed | select | Fan Speed | 风速设定 |
+| select.{DEVICEID}\_water_level_set | select | Water Level Setting | 水位设定 |
## 服务
@@ -35,25 +39,26 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|--------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------------------------------------------------ |
+| device_id | 设备的编号(Device ID) |
| attribute | "child_lock"
"anion"
"prompt_tone"
"power"
"swing" |
-| value | true 或 false |
+| value | true 或 false |
-| 名称 | 描述 |
-|-----------|-----------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | --------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "fan_speed" |
| value | "Lowest"
"Low"
"Medium"
"High"
"Auto"
"Off" |
-| 名称 | 描述 |
-|-----------|----------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | -------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "water_level_set" |
| value | "25"
"50"
"75"
"100" |
示例
+
```yaml
service: midea_ac_lan.set_attribute
data:
@@ -68,4 +73,4 @@ data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: Medium
-```
\ No newline at end of file
+```
diff --git a/doc/AC_hans.md b/doc/AC_hans.md
index 113b6c69..319cfd8b 100644
--- a/doc/AC_hans.md
+++ b/doc/AC_hans.md
@@ -1,5 +1,7 @@
# 家用空调
+
## 特性
+
- 支持目标温度设定
- 支持运行模式设定
- 支持风扇模式设定
@@ -8,6 +10,7 @@
- 支持内置新风系统
### 支持的模式
+
- 舒适模式
- 节能模式
- 强力模式
@@ -17,7 +20,7 @@
- 设置温度调整步长(默认为0.5).
```json
-{"temperature_step": 1}
+{ "temperature_step": 1 }
```
- 空调功耗分析方法(默认为1)
@@ -27,42 +30,44 @@
可选值有(1/2/3)
```json
-{"power_analysis_method": 2}
+{ "power_analysis_method": 2 }
```
## 生成实体
+
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|----------------------------|---------|-------|
-| climate.{DEVICEID}_climate | climate | 恒温器实体 |
+
+| 实体ID | 类型 | 描述 |
+| --------------------------- | ------- | ---------- |
+| climate.{DEVICEID}\_climate | climate | 恒温器实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|----------------------------------------------|---------------|----------------------------|----------|
-| sensor.{DEVICEID}_full_dust | binary_sensor | Full of Dust | 尘满 |
-| sensor.{DEVICEID}_indoor_humidity | sensor | Indoor humidity | 湿度 |
-| sensor.{DEVICEID}_indoor_temperature | sensor | Indoor Temperature | 室内温度 |
-| sensor.{DEVICEID}_outdoor_temperature | sensor | Outdoor Temperature | 室外机温度 |
-| sensor.{DEVICEID}_total_energy_consumption | sensor | Total Energy Consumption | 总能耗 |
-| sensor.{DEVICEID}_current_energy_consumption | sensor | Current Energy Consumption | 当前能耗 |
-| sensor.{DEVICEID}_realtime_power | sensor | Realtime Power | 实时功率 |
-| fan.{DEVICEID}_fresh_air | fan | Fresh Air | 新风 |
-| switch.{DEVICEID}_aux_heating | switch | Aux Heating | 电辅热 |
-| switch.{DEVICEID}_boost_mode | switch | Boost Mode | 强劲模式 |
-| switch.{DEVICEID}_breezeless | switch | Breezeless | 无风感 |
-| switch.{DEVICEID}_comfort_mode | switch | Comfort Mode | 舒省模式 |
-| switch.{DEVICEID}_dry | switch | Dry | 干燥 |
-| switch.{DEVICEID}_eco_mode | switch | ECO Mode | ECO模式 |
-| switch.{DEVICEID}_indirect_wind | switch | Indirect Wind | 防直吹 |
-| switch.{DEVICEID}_natural_wind | switch | Natural Wind | 自然风 |
-| switch.{DEVICEID}_prompt_tone | switch | Prompt Tone | 提示音 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_screen_display | switch | Screen Display | 屏幕显示 |
-| switch.{DEVICEID}_screen_display_alternate | switch | Screen Display Alternate | 屏幕显示备用开关 |
-| switch.{DEVICEID}_smart_eye | switch | Smart Eye | 智慧眼 |
-| switch.{DEVICEID}_swing_horizontal | switch | Swing Horizontal | 水平摆风 |
-| switch.{DEVICEID}_swing_vertical | switch | Swing Vertical | 垂直摆风 |
+| EntityID | 类型 | 名称 | 描述 |
+| --------------------------------------------- | ------------- | -------------------------- | ---------------- |
+| sensor.{DEVICEID}\_full_dust | binary_sensor | Full of Dust | 尘满 |
+| sensor.{DEVICEID}\_indoor_humidity | sensor | Indoor humidity | 湿度 |
+| sensor.{DEVICEID}\_indoor_temperature | sensor | Indoor Temperature | 室内温度 |
+| sensor.{DEVICEID}\_outdoor_temperature | sensor | Outdoor Temperature | 室外机温度 |
+| sensor.{DEVICEID}\_total_energy_consumption | sensor | Total Energy Consumption | 总能耗 |
+| sensor.{DEVICEID}\_current_energy_consumption | sensor | Current Energy Consumption | 当前能耗 |
+| sensor.{DEVICEID}\_realtime_power | sensor | Realtime Power | 实时功率 |
+| fan.{DEVICEID}\_fresh_air | fan | Fresh Air | 新风 |
+| switch.{DEVICEID}\_aux_heating | switch | Aux Heating | 电辅热 |
+| switch.{DEVICEID}\_boost_mode | switch | Boost Mode | 强劲模式 |
+| switch.{DEVICEID}\_breezeless | switch | Breezeless | 无风感 |
+| switch.{DEVICEID}\_comfort_mode | switch | Comfort Mode | 舒省模式 |
+| switch.{DEVICEID}\_dry | switch | Dry | 干燥 |
+| switch.{DEVICEID}\_eco_mode | switch | ECO Mode | ECO模式 |
+| switch.{DEVICEID}\_indirect_wind | switch | Indirect Wind | 防直吹 |
+| switch.{DEVICEID}\_natural_wind | switch | Natural Wind | 自然风 |
+| switch.{DEVICEID}\_prompt_tone | switch | Prompt Tone | 提示音 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_screen_display | switch | Screen Display | 屏幕显示 |
+| switch.{DEVICEID}\_screen_display_alternate | switch | Screen Display Alternate | 屏幕显示备用开关 |
+| switch.{DEVICEID}\_smart_eye | switch | Smart Eye | 智慧眼 |
+| switch.{DEVICEID}\_swing_horizontal | switch | Swing Horizontal | 水平摆风 |
+| switch.{DEVICEID}\_swing_vertical | switch | Swing Vertical | 垂直摆风 |
## 内置新风系统
@@ -76,16 +81,16 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| device_id | 设备的编号(Device ID) |
| attribute | "aux_heating"
"breezeless"
"comfort_mode"
"dry"
"eco_mode"
"indirect_wind"
"natural_wind"
"prompt_tone"
"power"
"screen_display"
"screen_display_2"
"smart_eye"
"swing_horizontal"
"swing_vertical"
"turbo_mode" |
-| value | true 或 false |
+| value | true 或 false |
-| 名称 | 描述 |
-|-----------|------------------|
+| 名称 | 描述 |
+| --------- | --------------------- |
| device_id | 设备的编号(Device ID) |
-| attribute | fan_speed |
+| attribute | fan_speed |
| value | 范围为1-100, 或者auto |
示例
@@ -97,10 +102,11 @@ data:
attribute: eco_mode
value: true
```
+
```yaml
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: 65
-```
\ No newline at end of file
+```
diff --git a/doc/B0.md b/doc/B0.md
index d6648d36..978ab9ca 100644
--- a/doc/B0.md
+++ b/doc/B0.md
@@ -1,20 +1,23 @@
# Microwave Oven
## Entities
+
### Default entity
+
No default entity.
### Extra entities
-| EntityID | Class | Description |
-|------------------------------------------------|---------------|------------------------------------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door Status |
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected (warnning message) |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water Shortage (warnning message) |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperatur |
-| sensor.{DEVICEID}_status | sensor | Current Status |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
+| EntityID | Class | Description |
+| ----------------------------------------------- | ------------- | ---------------------------------------- |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door Status |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected (warnning message) |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water Shortage (warnning message) |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperatur |
+| sensor.{DEVICEID}\_status | sensor | Current Status |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
## Service
-No services.
\ No newline at end of file
+
+No services.
diff --git a/doc/B0_hans.md b/doc/B0_hans.md
index 1fd5ecbd..78e4add8 100644
--- a/doc/B0_hans.md
+++ b/doc/B0_hans.md
@@ -1,20 +1,23 @@
# 微波炉
## 实体
+
### 默认实体
+
无默认实体
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|------------------------------------------------|---------------|------------------------------------------|------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door Status | 门状态 |
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperatur | 当前温度 |
-| sensor.{DEVICEID}_status | sensor | Current Status | 当前状态 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
+| EntityID | 类型 | 名称 | 描述 |
+| ----------------------------------------------- | ------------- | ---------------------------------------- | ------------------ |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door Status | 门状态 |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperatur | 当前温度 |
+| sensor.{DEVICEID}\_status | sensor | Current Status | 当前状态 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
## 服务
-无服务
\ No newline at end of file
+
+无服务
diff --git a/doc/B1.md b/doc/B1.md
index aab1cd37..9b960bef 100644
--- a/doc/B1.md
+++ b/doc/B1.md
@@ -1,20 +1,23 @@
# Electric Oven
## Entities
+
### Default entity
+
No default entity.
### Extra entities
-| EntityID | Class | Description |
-|------------------------------------------------|---------------|------------------------------------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door Status |
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected (warnning message) |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water Shortage (warnning message) |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperatur |
-| sensor.{DEVICEID}_status | sensor | Current Status |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
+| EntityID | Class | Description |
+| ----------------------------------------------- | ------------- | ---------------------------------------- |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door Status |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected (warnning message) |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water Shortage (warnning message) |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperatur |
+| sensor.{DEVICEID}\_status | sensor | Current Status |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
## Service
-No services.
\ No newline at end of file
+
+No services.
diff --git a/doc/B1_hans.md b/doc/B1_hans.md
index c19e7c66..d9b96750 100644
--- a/doc/B1_hans.md
+++ b/doc/B1_hans.md
@@ -1,19 +1,23 @@
# 电烤箱
+
## 实体
+
### 默认实体
+
无默认实体
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|------------------------------------------------|---------------|------------------------------------------|------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door Status | 门状态 |
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperatur | 当前温度 |
-| sensor.{DEVICEID}_status | sensor | Current Status | 当前状态 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
+| EntityID | 类型 | 名称 | 描述 |
+| ----------------------------------------------- | ------------- | ---------------------------------------- | ------------------ |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door Status | 门状态 |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperatur | 当前温度 |
+| sensor.{DEVICEID}\_status | sensor | Current Status | 当前状态 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
## 服务
-无服务.
\ No newline at end of file
+
+无服务.
diff --git a/doc/B3.md b/doc/B3.md
index 6dcc5cca..a24891e4 100644
--- a/doc/B3.md
+++ b/doc/B3.md
@@ -1,32 +1,34 @@
# Dish Sterilizer
## Entities
+
### Default entity
+
No default entity.
### Extra entities
-| EntityID | Class | Description |
-|--------------------------------------------------------|---------------|--------------------------------|
-| binary_sensor.{DEVICEID}_top_compartment_door | binary_sensor | Top Compartment Door Status |
-| binary_sensor.{DEVICEID}_top_compartment_preheating | binary_sensor | Top Compartment Preheating |
-| binary_sensor.{DEVICEID}_top_compartment_cooling | binary_sensor | Top Compartment Cooling |
-| binary_sensor.{DEVICEID}_middle_compartment_door | binary_sensor | Middle Compartment Door Status |
-| binary_sensor.{DEVICEID}_middle_compartment_preheating | binary_sensor | Middle Compartment Preheating |
-| binary_sensor.{DEVICEID}_middle_compartment_cooling | binary_sensor | Middle Compartment Cooling |
-| binary_sensor.{DEVICEID}_bottom_compartment_door | binary_sensor | Bottom Compartment Door Status |
-| binary_sensor.{DEVICEID}_bottom_compartment_preheating | binary_sensor | Bottom Compartment Preheating |
-| binary_sensor.{DEVICEID}_bottom_compartment_cooling | binary_sensor | Bottom Compartment Cooling |
-| sensor.{DEVICEID}_top_compartment_status | sensor | Top Compartment Status |
-| sensor.{DEVICEID}_top_compartment_temperature | sensor | Top Compartment Temperature |
-| sensor.{DEVICEID}_top_compartment_remaining | sensor | Top Compartment Remaining |
-| sensor.{DEVICEID}_middle_compartment_status | sensor | Middle Compartment Status |
-| sensor.{DEVICEID}_middle_compartment_temperature | sensor | Middle Compartment Temperature |
-| sensor.{DEVICEID}_middle_compartment_remaining | sensor | Middle Compartment Remaining |
-| sensor.{DEVICEID}_bottom_compartment_status | sensor | Bottom Compartment Status |
-| sensor.{DEVICEID}_bottom_compartment_temperature | sensor | Bottom Compartment Temperature |
-| sensor.{DEVICEID}_bottom_compartment_remaining | sensor | Bottom Compartment Remaining |
-
+| EntityID | Class | Description |
+| ------------------------------------------------------- | ------------- | ------------------------------ |
+| binary_sensor.{DEVICEID}\_top_compartment_door | binary_sensor | Top Compartment Door Status |
+| binary_sensor.{DEVICEID}\_top_compartment_preheating | binary_sensor | Top Compartment Preheating |
+| binary_sensor.{DEVICEID}\_top_compartment_cooling | binary_sensor | Top Compartment Cooling |
+| binary_sensor.{DEVICEID}\_middle_compartment_door | binary_sensor | Middle Compartment Door Status |
+| binary_sensor.{DEVICEID}\_middle_compartment_preheating | binary_sensor | Middle Compartment Preheating |
+| binary_sensor.{DEVICEID}\_middle_compartment_cooling | binary_sensor | Middle Compartment Cooling |
+| binary_sensor.{DEVICEID}\_bottom_compartment_door | binary_sensor | Bottom Compartment Door Status |
+| binary_sensor.{DEVICEID}\_bottom_compartment_preheating | binary_sensor | Bottom Compartment Preheating |
+| binary_sensor.{DEVICEID}\_bottom_compartment_cooling | binary_sensor | Bottom Compartment Cooling |
+| sensor.{DEVICEID}\_top_compartment_status | sensor | Top Compartment Status |
+| sensor.{DEVICEID}\_top_compartment_temperature | sensor | Top Compartment Temperature |
+| sensor.{DEVICEID}\_top_compartment_remaining | sensor | Top Compartment Remaining |
+| sensor.{DEVICEID}\_middle_compartment_status | sensor | Middle Compartment Status |
+| sensor.{DEVICEID}\_middle_compartment_temperature | sensor | Middle Compartment Temperature |
+| sensor.{DEVICEID}\_middle_compartment_remaining | sensor | Middle Compartment Remaining |
+| sensor.{DEVICEID}\_bottom_compartment_status | sensor | Bottom Compartment Status |
+| sensor.{DEVICEID}\_bottom_compartment_temperature | sensor | Bottom Compartment Temperature |
+| sensor.{DEVICEID}\_bottom_compartment_remaining | sensor | Bottom Compartment Remaining |
## Service
-No services.
\ No newline at end of file
+
+No services.
diff --git a/doc/B3_hans.md b/doc/B3_hans.md
index 6487d9c1..69a3bc41 100644
--- a/doc/B3_hans.md
+++ b/doc/B3_hans.md
@@ -1,33 +1,34 @@
# 消毒碗柜
## 实体
+
### 默认实体
+
无默认实体
### 扩展实体
-
-| EntityID | 类型 | 名称 | 描述 |
-|--------------------------------------------------------|---------------|--------------------------------|--------|
-| binary_sensor.{DEVICEID}_top_compartment_door | binary_sensor | Top Compartment Door Status | 上层门状态 |
-| binary_sensor.{DEVICEID}_top_compartment_preheating | binary_sensor | Top Compartment Preheating | 上层预热 |
-| binary_sensor.{DEVICEID}_top_compartment_cooling | binary_sensor | Top Compartment Cooling | 上层冷却 |
-| binary_sensor.{DEVICEID}_middle_compartment_door | binary_sensor | Middle Compartment Door Status | 中层门状态 |
-| binary_sensor.{DEVICEID}_middle_compartment_preheating | binary_sensor | Middle Compartment Preheating | 中层预热 |
-| binary_sensor.{DEVICEID}_middle_compartment_cooling | binary_sensor | Middle Compartment Cooling | 中层冷却 |
-| binary_sensor.{DEVICEID}_bottom_compartment_door | binary_sensor | Bottom Compartment Door Status | 下层门状态 |
-| binary_sensor.{DEVICEID}_bottom_compartment_preheating | binary_sensor | Bottom Compartment Preheating | 下层预热 |
-| binary_sensor.{DEVICEID}_bottom_compartment_cooling | binary_sensor | Bottom Compartment Cooling | 下层冷却 |
-| sensor.{DEVICEID}_top_compartment_status | sensor | Top Compartment Status | 上层状态 |
-| sensor.{DEVICEID}_top_compartment_temperature | sensor | Top Compartment Temperature | 上层温度 |
-| sensor.{DEVICEID}_top_compartment_remaining | sensor | Top Compartment Remaining | 上层剩余时间 |
-| sensor.{DEVICEID}_middle_compartment_status | sensor | Middle Compartment Status | 中层状态 |
-| sensor.{DEVICEID}_middle_compartment_temperature | sensor | Middle Compartment Temperature | 中层温度 |
-| sensor.{DEVICEID}_middle_compartment_remaining | sensor | Middle Compartment Remaining | 中层剩余时间 |
-| sensor.{DEVICEID}_bottom_compartment_status | sensor | Bottom Compartment Status | 下层状态 |
-| sensor.{DEVICEID}_bottom_compartment_temperature | sensor | Bottom Compartment Temperature | 下层温度 |
-| sensor.{DEVICEID}_bottom_compartment_remaining | sensor | Bottom Compartment Remaining | 下层剩余时间 |
-
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------------------------- | ------------- | ------------------------------ | ------------ |
+| binary_sensor.{DEVICEID}\_top_compartment_door | binary_sensor | Top Compartment Door Status | 上层门状态 |
+| binary_sensor.{DEVICEID}\_top_compartment_preheating | binary_sensor | Top Compartment Preheating | 上层预热 |
+| binary_sensor.{DEVICEID}\_top_compartment_cooling | binary_sensor | Top Compartment Cooling | 上层冷却 |
+| binary_sensor.{DEVICEID}\_middle_compartment_door | binary_sensor | Middle Compartment Door Status | 中层门状态 |
+| binary_sensor.{DEVICEID}\_middle_compartment_preheating | binary_sensor | Middle Compartment Preheating | 中层预热 |
+| binary_sensor.{DEVICEID}\_middle_compartment_cooling | binary_sensor | Middle Compartment Cooling | 中层冷却 |
+| binary_sensor.{DEVICEID}\_bottom_compartment_door | binary_sensor | Bottom Compartment Door Status | 下层门状态 |
+| binary_sensor.{DEVICEID}\_bottom_compartment_preheating | binary_sensor | Bottom Compartment Preheating | 下层预热 |
+| binary_sensor.{DEVICEID}\_bottom_compartment_cooling | binary_sensor | Bottom Compartment Cooling | 下层冷却 |
+| sensor.{DEVICEID}\_top_compartment_status | sensor | Top Compartment Status | 上层状态 |
+| sensor.{DEVICEID}\_top_compartment_temperature | sensor | Top Compartment Temperature | 上层温度 |
+| sensor.{DEVICEID}\_top_compartment_remaining | sensor | Top Compartment Remaining | 上层剩余时间 |
+| sensor.{DEVICEID}\_middle_compartment_status | sensor | Middle Compartment Status | 中层状态 |
+| sensor.{DEVICEID}\_middle_compartment_temperature | sensor | Middle Compartment Temperature | 中层温度 |
+| sensor.{DEVICEID}\_middle_compartment_remaining | sensor | Middle Compartment Remaining | 中层剩余时间 |
+| sensor.{DEVICEID}\_bottom_compartment_status | sensor | Bottom Compartment Status | 下层状态 |
+| sensor.{DEVICEID}\_bottom_compartment_temperature | sensor | Bottom Compartment Temperature | 下层温度 |
+| sensor.{DEVICEID}\_bottom_compartment_remaining | sensor | Bottom Compartment Remaining | 下层剩余时间 |
## Service
-No services.
\ No newline at end of file
+
+No services.
diff --git a/doc/B4_hans.md b/doc/B4_hans.md
index ad2aaec3..72ea8ed8 100644
--- a/doc/B4_hans.md
+++ b/doc/B4_hans.md
@@ -1,19 +1,23 @@
# 小烤箱
+
## 实体
+
### 默认实体
+
无默认实体
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|------------------------------------------------|---------------|------------------------------------------|------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door Status | 门状态 |
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperatur | 当前温度 |
-| sensor.{DEVICEID}_status | sensor | Current Status | 当前状态 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
+| EntityID | 类型 | 名称 | 描述 |
+| ----------------------------------------------- | ------------- | ---------------------------------------- | ------------------ |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door Status | 门状态 |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected (warnning message) | 水箱弹出(警告信息) |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder (warnning message) | 换水提醒(警告信息) |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water Shortage (warnning message) | 缺水(警告信息) |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperatur | 当前温度 |
+| sensor.{DEVICEID}\_status | sensor | Current Status | 当前状态 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
## 服务
-无服务.
\ No newline at end of file
+
+无服务.
diff --git a/doc/B6.md b/doc/B6.md
index 11328466..4b801888 100644
--- a/doc/B6.md
+++ b/doc/B6.md
@@ -1,5 +1,7 @@
# Range Hood
+
## Features
+
- Supports fan speed
- Supports preset mode
@@ -9,26 +11,38 @@
- Set the power-on fan level.
```json
-{"speeds": {"0": "Off","1": "Level 1","2": "Level 2","3": "Level 3","22": "Variable"},"default_speed": 2}
+{
+ "speeds": {
+ "0": "Off",
+ "1": "Level 1",
+ "2": "Level 2",
+ "3": "Level 3",
+ "22": "Variable"
+ },
+ "default_speed": 2
+}
```
-***Note: For different models of range hoods, maybe has different fan level settings. 4 means Boost in some devices but Variable in others, 20 means Variable in some devices but 22 means Variable in others. So you can try the different settings in your own device.***
+**_Note: For different models of range hoods, maybe has different fan level settings. 4 means Boost in some devices but Variable in others, 20 means Variable in some devices but 22 means Variable in others. So you can try the different settings in your own device._**
## Entities
+
### Default entity
-| EntityID | Class | Description |
-|--------------------|-------|-------------|
-| fan.{DEVICEID}_fan | fan | Fan entity |
+
+| EntityID | Class | Description |
+| ------------------- | ----- | ----------- |
+| fan.{DEVICEID}\_fan | fan | Fan entity |
### Extra entities
-| EntityID | Class | Description |
-|--------------------------------------------|--------|-------------------|
-| binary_sensor.{DEVICEID}_cleaning_reminder | lock | Cleaning Reminder |
-| binary_sensor.{DEVICEID}_oilcup_full | select | Oil-cup Full |
-| sensor.{DEVICEID}_fan_level | sensor | Current Fan Level |
-| switch.{DEVICEID}_light | switch | Light |
-| switch.{DEVICEID}_power | switch | Power |
+| EntityID | Class | Description |
+| ------------------------------------------- | ------ | ----------------- |
+| binary_sensor.{DEVICEID}\_cleaning_reminder | lock | Cleaning Reminder |
+| binary_sensor.{DEVICEID}\_oilcup_full | select | Oil-cup Full |
+| sensor.{DEVICEID}\_fan_level | sensor | Current Fan Level |
+| switch.{DEVICEID}\_light | switch | Light |
+| switch.{DEVICEID}\_power | switch | Power |
## Service
-No service
\ No newline at end of file
+
+No service
diff --git a/doc/B6_hans.md b/doc/B6_hans.md
index 55d90fc1..f1dd643e 100644
--- a/doc/B6_hans.md
+++ b/doc/B6_hans.md
@@ -1,5 +1,7 @@
# 油烟机
+
## 特性
+
- 支持风速调节
- 支持预设模式
@@ -9,26 +11,38 @@
- 设置开机默认档位
```json
-{"speeds": {"0": "关闭","1": "档位1","2": "档位2","3": "档位3","22": "变频巡航"},"default_speed": 2}
+{
+ "speeds": {
+ "0": "关闭",
+ "1": "档位1",
+ "2": "档位2",
+ "3": "档位3",
+ "22": "变频巡航"
+ },
+ "default_speed": 2
+}
```
-***注意: 对于不同型号的油烟机,档位设置可能各不相同。有的4是爆炒档,有的4是巡航档,有的20是变频档,有的22是变频档,可以自己尝试不同设置适配你的油烟机。***
+**_注意: 对于不同型号的油烟机,档位设置可能各不相同。有的4是爆炒档,有的4是巡航档,有的20是变频档,有的22是变频档,可以自己尝试不同设置适配你的油烟机。_**
## 生成实体
+
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|--------------------|-----|------|
-| fan.{DEVICEID}_fan | fan | 风扇实体 |
+
+| 实体ID | 类型 | 描述 |
+| ------------------- | ---- | -------- |
+| fan.{DEVICEID}\_fan | fan | 风扇实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|--------------------------------------------|--------|-------------------|--------|
-| binary_sensor.{DEVICEID}_cleaning_reminder | lock | Cleaning Reminder | 清洁提示 |
-| binary_sensor.{DEVICEID}_oilcup_full | select | Oil-cup Full | 油杯满提示 |
-| sensor.{DEVICEID}_fan_level | sensor | Current Fan Level | 当前风扇档位 |
-| switch.{DEVICEID}_light | switch | Light | 灯开关 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------------- | ------ | ----------------- | ------------ |
+| binary_sensor.{DEVICEID}\_cleaning_reminder | lock | Cleaning Reminder | 清洁提示 |
+| binary_sensor.{DEVICEID}\_oilcup_full | select | Oil-cup Full | 油杯满提示 |
+| sensor.{DEVICEID}\_fan_level | sensor | Current Fan Level | 当前风扇档位 |
+| switch.{DEVICEID}\_light | switch | Light | 灯开关 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
## 服务
-无服务
\ No newline at end of file
+
+无服务
diff --git a/doc/BF.md b/doc/BF.md
index ca3c5918..589ff91d 100644
--- a/doc/BF.md
+++ b/doc/BF.md
@@ -1,22 +1,23 @@
# Microwave Steam Oven
## Entities
+
### Default entity
+
No default entity
### Extra entities
-| EntityID | Class | Description |
-|------------------------------------------------|---------------|-----------------------|
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder |
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water shortage |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
-| sensor.{DEVICEID}_status | sensor | Status |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-
+| EntityID | Class | Description |
+| ----------------------------------------------- | ------------- | --------------------- |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water shortage |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature |
+| sensor.{DEVICEID}\_status | sensor | Status |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
## Service
-No service
\ No newline at end of file
+No service
diff --git a/doc/BF_hans.md b/doc/BF_hans.md
index 75537f8f..461fd13f 100644
--- a/doc/BF_hans.md
+++ b/doc/BF_hans.md
@@ -1,21 +1,23 @@
# 微蒸烤一体机
## 实体
+
### 默认实体
+
无默认实体
### 扩展实体
-| EntityID | 类型 | 名称 | 描述 |
-|------------------------------------------------|---------------|-----------------------|------|
-| binary_sensor.{DEVICEID}_tank_ejected | binary_sensor | Tank Ejected | 水箱弹出 |
-| binary_sensor.{DEVICEID}_water_change_reminder | binary_sensor | Water Change Reminder | 换水提醒 |
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door | 门状态 |
-| binary_sensor.{DEVICEID}_water_shortage | binary_sensor | Water shortage | 缺水提醒 |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
-| sensor.{DEVICEID}_status | sensor | Status | 当前状态 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
+| EntityID | 类型 | 名称 | 描述 |
+| ----------------------------------------------- | ------------- | --------------------- | -------- |
+| binary_sensor.{DEVICEID}\_tank_ejected | binary_sensor | Tank Ejected | 水箱弹出 |
+| binary_sensor.{DEVICEID}\_water_change_reminder | binary_sensor | Water Change Reminder | 换水提醒 |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door | 门状态 |
+| binary_sensor.{DEVICEID}\_water_shortage | binary_sensor | Water shortage | 缺水提醒 |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | 当前温度 |
+| sensor.{DEVICEID}\_status | sensor | Status | 当前状态 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
## 服务
-无服务
\ No newline at end of file
+无服务
diff --git a/doc/C2.md b/doc/C2.md
index eba2a354..888348af 100644
--- a/doc/C2.md
+++ b/doc/C2.md
@@ -7,7 +7,7 @@
- Set the max seat temperature level (default by 5)
```json
-{"max_dry_level": 3,"max_water_temp_level": 5, "max_seat_temp_level": 5}
+{ "max_dry_level": 3, "max_water_temp_level": 5, "max_seat_temp_level": 5 }
```
## Entities
@@ -18,20 +18,20 @@ No default entity
### Extra entities
-| EntityID | Class | Description |
-|--------------------------------------|---------------|---------------------------|
-| binary_sensor.{DEVICEID}_seat_status | binary_sensor | Seat Status |
-| binary_sensor.{DEVICEID}_lid_status | binary_sensor | Lid Status |
-| sensor.{DEVICEID}_water_temperature | sensor | Current Water Temperature |
-| sensor.{DEVICEID}_seat_temperature | sensor | Current Heat Temperature |
-| sensor.{DEVICEID}_filter_life | sensor | Filter Life |
-| switch.{DEVICEID}_child_lock | lock | Child Lock |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_sensor_light | switch | Sensor Light |
-| switch.{DEVICEID}_foam_shield | switch | Foam Shield |
-| number.{DEVICEID}_dry_level | number | Dry Level |
-| number.{DEVICEID}_water_temp_level | number | Water Temperature Level |
-| number.{DEVICEID}_seat_temp_level | number | Seat Temperature Level |
+| EntityID | Class | Description |
+| ------------------------------------- | ------------- | ------------------------- |
+| binary_sensor.{DEVICEID}\_seat_status | binary_sensor | Seat Status |
+| binary_sensor.{DEVICEID}\_lid_status | binary_sensor | Lid Status |
+| sensor.{DEVICEID}\_water_temperature | sensor | Current Water Temperature |
+| sensor.{DEVICEID}\_seat_temperature | sensor | Current Heat Temperature |
+| sensor.{DEVICEID}\_filter_life | sensor | Filter Life |
+| switch.{DEVICEID}\_child_lock | lock | Child Lock |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_sensor_light | switch | Sensor Light |
+| switch.{DEVICEID}\_foam_shield | switch | Foam Shield |
+| number.{DEVICEID}\_dry_level | number | Dry Level |
+| number.{DEVICEID}\_water_temp_level | number | Water Temperature Level |
+| number.{DEVICEID}\_seat_temp_level | number | Seat Temperature Level |
## Service
@@ -42,13 +42,13 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------------------------|
+| --------- | ------------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"power"
"sensor_light"
"foam_shield" |
| value | true or false |
| Name | Description |
-|-----------|---------------------------------------------------------|
+| --------- | ------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "dry_level"
"water_temp_level"
"seat_temp_level" |
| value | 0 to max-level |
diff --git a/doc/C2_hans.md b/doc/C2_hans.md
index 7010192d..fa2b96da 100644
--- a/doc/C2_hans.md
+++ b/doc/C2_hans.md
@@ -7,7 +7,7 @@
- 设置最大水温档位 (默认为 5)
```json
-{"max_dry_level": 3,"max_water_temp_level": 5, "max_seat_temp_level": 5}
+{ "max_dry_level": 3, "max_water_temp_level": 5, "max_seat_temp_level": 5 }
```
## 实体
@@ -18,20 +18,20 @@
### 扩展实体
-| EntityID | Class | Description | 描述 |
-|--------------------------------------|---------------|---------------------------|------|
-| binary_sensor.{DEVICEID}_seat_status | binary_sensor | Seat Status | 入座状态 |
-| binary_sensor.{DEVICEID}_lid_status | binary_sensor | Lid Status | 盖子状态 |
-| sensor.{DEVICEID}_water_temperature | sensor | Current Water Temperature | 当前水温 |
-| sensor.{DEVICEID}_seat_temperature | sensor | Current Heat Temperature | 当前座温 |
-| sensor.{DEVICEID}_filter_life | sensor | Filter Life | 滤芯寿命 |
-| switch.{DEVICEID}_child_lock | lock | Child Lock | 童锁 |
-| switch.{DEVICEID}_power | switch | Power | 电源 |
-| switch.{DEVICEID}_sensor_light | switch | Sensor Light | 感应夜灯 |
-| switch.{DEVICEID}_foam_shield | switch | Foam Shield | 泡沫盾 |
-| number.{DEVICEID}_dry_level | number | Dry Level | 烘干档位 |
-| number.{DEVICEID}_water_temp_level | number | Water Temperature Level | 水温档位 |
-| number.{DEVICEID}_seat_temp_level | number | Seat Temperature Level | 座温档位 |
+| EntityID | Class | Description | 描述 |
+| ------------------------------------- | ------------- | ------------------------- | -------- |
+| binary_sensor.{DEVICEID}\_seat_status | binary_sensor | Seat Status | 入座状态 |
+| binary_sensor.{DEVICEID}\_lid_status | binary_sensor | Lid Status | 盖子状态 |
+| sensor.{DEVICEID}\_water_temperature | sensor | Current Water Temperature | 当前水温 |
+| sensor.{DEVICEID}\_seat_temperature | sensor | Current Heat Temperature | 当前座温 |
+| sensor.{DEVICEID}\_filter_life | sensor | Filter Life | 滤芯寿命 |
+| switch.{DEVICEID}\_child_lock | lock | Child Lock | 童锁 |
+| switch.{DEVICEID}\_power | switch | Power | 电源 |
+| switch.{DEVICEID}\_sensor_light | switch | Sensor Light | 感应夜灯 |
+| switch.{DEVICEID}\_foam_shield | switch | Foam Shield | 泡沫盾 |
+| number.{DEVICEID}\_dry_level | number | Dry Level | 烘干档位 |
+| number.{DEVICEID}\_water_temp_level | number | Water Temperature Level | 水温档位 |
+| number.{DEVICEID}\_seat_temp_level | number | Seat Temperature Level | 座温档位 |
## Service
@@ -41,17 +41,17 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|---------------------------------------------|
+| 名称 | 描述 |
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"power"
"light" |
-| value | true 或 false |
+| value | true 或 false |
-| 名称 | 描述 |
-|-----------|---------------------------------------------------------|
+| 名称 | 描述 |
+| --------- | ------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "dry_level"
"water_temp_level"
"seat_temp_level" |
-| value | 0 到 最大档位 |
+| value | 0 到 最大档位 |
示例
diff --git a/doc/C3.md b/doc/C3.md
index f7438269..a53458d8 100644
--- a/doc/C3.md
+++ b/doc/C3.md
@@ -9,39 +9,39 @@
### Default entity
-| EntityID | Class | Description |
-|--------------------------------------|--------------|----------------------|
-| climate.{DEVICEID}_climate_zone1 | climate | Zone1 climate entity |
-| climate.{DEVICEID}_climate_zone2 | climate | Zone2 climate entity |
-| water_heater.{DEVICEID}_water_heater | water_heater | Water heater entity |
+| EntityID | Class | Description |
+| ------------------------------------- | ------------ | -------------------- |
+| climate.{DEVICEID}\_climate_zone1 | climate | Zone1 climate entity |
+| climate.{DEVICEID}\_climate_zone2 | climate | Zone2 climate entity |
+| water_heater.{DEVICEID}\_water_heater | water_heater | Water heater entity |
### Extra entities
-| EntityID | Class | Description |
-|------------------------------------------------|---------------|----------------------------------------------------------------------------------------------------------------------|
-| binary_sensor.{DEVICEID}_zone1_water_temp_mode | binary_sensor | Zone1 Water Temperature Mode |
-| binary_sensor.{DEVICEID}_zone2_water_temp_mode | binary_sensor | Zone2 Water Temperature Mode |
-| binary_sensor.{DEVICEID}_zone1_room_temp_mode | binary_sensor | Zone1 Room Temperature Mode |
-| binary_sensor.{DEVICEID}_zone2_room_temp_mode | binary_sensor | Zone2 Room Temperature Mode |
-| binary_sensor.{DEVICEID}_status_dhw | binary_sensor | DHW Status |
-| binary_sensor.{DEVICEID}_status_tbh | binary_sensor | TBH Status |
-| binary_sensor.{DEVICEID}_status_ibh | binary_sensor | IBH Status |
-| binary_sensor.{DEVICEID}_status_heating | binary_sensor | Heating Status |
-| sensor.{DEVICEID}_error_code | sensor | Error Code |
-| sensor.{DEVICEID}_tank_actual_temperature | sensor | Tank Actual Temperature |
-| sensor.{DEVICEID}_total_energy_consumption | sensor | Total Energy Consumption.The first value may be delayed because updates are only sent when the device is active |
-| sensor.{DEVICEID}_total_produced_energy | sensor | Total Produced Energy |
-| sensor.{DEVICEID}_outdoor_temperature | sensor | Outdoor Temperature |
-| switch.{DEVICEID}_disinfect | switch | Disinfect |
-| switch.{DEVICEID}_dhw_power | switch | DHW Power |
-| switch.{DEVICEID}_eco_mode | switch | ECO Mode |
-| switch.{DEVICEID}_fast_dhw | switch | Fast DHW |
-| switch.{DEVICEID}_silent_mode | switch | Silent Mode |
-| switch.{DEVICEID}_tbh | switch | TBH |
-| switch.{DEVICEID}_zone1_curve | switch | Zone1 Curve |
-| switch.{DEVICEID}_zone2_curve | switch | Zone2 Curve |
-| switch.{DEVICEID}_zone1_power | switch | Zone1 Power |
-| switch.{DEVICEID}_zone2_power | switch | Zone2 Power |
+| EntityID | Class | Description |
+| ----------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------- |
+| binary_sensor.{DEVICEID}\_zone1_water_temp_mode | binary_sensor | Zone1 Water Temperature Mode |
+| binary_sensor.{DEVICEID}\_zone2_water_temp_mode | binary_sensor | Zone2 Water Temperature Mode |
+| binary_sensor.{DEVICEID}\_zone1_room_temp_mode | binary_sensor | Zone1 Room Temperature Mode |
+| binary_sensor.{DEVICEID}\_zone2_room_temp_mode | binary_sensor | Zone2 Room Temperature Mode |
+| binary_sensor.{DEVICEID}\_status_dhw | binary_sensor | DHW Status |
+| binary_sensor.{DEVICEID}\_status_tbh | binary_sensor | TBH Status |
+| binary_sensor.{DEVICEID}\_status_ibh | binary_sensor | IBH Status |
+| binary_sensor.{DEVICEID}\_status_heating | binary_sensor | Heating Status |
+| sensor.{DEVICEID}\_error_code | sensor | Error Code |
+| sensor.{DEVICEID}\_tank_actual_temperature | sensor | Tank Actual Temperature |
+| sensor.{DEVICEID}\_total_energy_consumption | sensor | Total Energy Consumption.The first value may be delayed because updates are only sent when the device is active |
+| sensor.{DEVICEID}\_total_produced_energy | sensor | Total Produced Energy |
+| sensor.{DEVICEID}\_outdoor_temperature | sensor | Outdoor Temperature |
+| switch.{DEVICEID}\_disinfect | switch | Disinfect |
+| switch.{DEVICEID}\_dhw_power | switch | DHW Power |
+| switch.{DEVICEID}\_eco_mode | switch | ECO Mode |
+| switch.{DEVICEID}\_fast_dhw | switch | Fast DHW |
+| switch.{DEVICEID}\_silent_mode | switch | Silent Mode |
+| switch.{DEVICEID}\_tbh | switch | TBH |
+| switch.{DEVICEID}\_zone1_curve | switch | Zone1 Curve |
+| switch.{DEVICEID}\_zone2_curve | switch | Zone2 Curve |
+| switch.{DEVICEID}\_zone1_power | switch | Zone1 Power |
+| switch.{DEVICEID}\_zone2_power | switch | Zone2 Power |
## Service
@@ -52,7 +52,7 @@
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|--------------------------------------------------------------------------------------------------------------------|
+| --------- | ------------------------------------------------------------------------------------------------------------------ |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "disinfect"
"dhw_power"
"fast_dhw"
"zone1_curve"
"zone2_curve"
"zone1_power"
"zone2_power" |
| value | true or false |
diff --git a/doc/CA.md b/doc/CA.md
index 6252f611..b94d3e73 100644
--- a/doc/CA.md
+++ b/doc/CA.md
@@ -8,25 +8,25 @@ No default entity.
### Extra entities
-| EntityID | Class | Description |
-|-----------------------------------------------------|---------------|-------------------------------------|
-| binary_sensor.{DEVICEID}_bar_door | binary_sensor | Bar Door |
-| binary_sensor.{DEVICEID}_bar_door_overtime | binary_sensor | Bar Door Overtime |
-| binary_sensor.{DEVICEID}_flex_zone_door | binary_sensor | Flex-zone Door |
-| binary_sensor.{DEVICEID}_flex_zone_door_overtime | binary_sensor | Flex-zone Door Overtime |
-| binary_sensor.{DEVICEID}_freezer_door | binary_sensor | Freezer Door |
-| binary_sensor.{DEVICEID}_freezer_door_overtime | binary_sensor | Freezer Door Overtime |
-| binary_sensor.{DEVICEID}_refrigerator_door | binary_sensor | Refrigerator Door |
-| binary_sensor.{DEVICEID}_refrigerator_door_overtime | binary_sensor | Refrigerator Door Overtime |
-| sensor.{DEVICEID}_flex_zone_actual_temp | sensor | Flex-zone Actual Temperature |
-| sensor.{DEVICEID}_flex_zone_setting_temp | sensor | Flex-zone Setting Temperature |
-| sensor.{DEVICEID}_freezer_actual_temp | sensor | Freezer Actual Temperature |
-| sensor.{DEVICEID}_freezer_setting_temp | sensor | Freezer Setting Temperature |
-| sensor.{DEVICEID}_energy_consumption | sensor | Energy Consumptio |
-| sensor.{DEVICEID}_refrigerator_actual_temp | sensor | Refrigerator Actual Temperature |
-| sensor.{DEVICEID}_refrigerator_setting_temp | sensor | Refrigerator setting Temperature |
-| sensor.{DEVICEID}_right_flex_zone_actual_temp | sensor | Right Flex-zone Actual Temperature |
-| sensor.{DEVICEID}_right_flex_zone_setting_temp | sensor | Right Flex-zone Setting Temperature |
+| EntityID | Class | Description |
+| ---------------------------------------------------- | ------------- | ----------------------------------- |
+| binary_sensor.{DEVICEID}\_bar_door | binary_sensor | Bar Door |
+| binary_sensor.{DEVICEID}\_bar_door_overtime | binary_sensor | Bar Door Overtime |
+| binary_sensor.{DEVICEID}\_flex_zone_door | binary_sensor | Flex-zone Door |
+| binary_sensor.{DEVICEID}\_flex_zone_door_overtime | binary_sensor | Flex-zone Door Overtime |
+| binary_sensor.{DEVICEID}\_freezer_door | binary_sensor | Freezer Door |
+| binary_sensor.{DEVICEID}\_freezer_door_overtime | binary_sensor | Freezer Door Overtime |
+| binary_sensor.{DEVICEID}\_refrigerator_door | binary_sensor | Refrigerator Door |
+| binary_sensor.{DEVICEID}\_refrigerator_door_overtime | binary_sensor | Refrigerator Door Overtime |
+| sensor.{DEVICEID}\_flex_zone_actual_temp | sensor | Flex-zone Actual Temperature |
+| sensor.{DEVICEID}\_flex_zone_setting_temp | sensor | Flex-zone Setting Temperature |
+| sensor.{DEVICEID}\_freezer_actual_temp | sensor | Freezer Actual Temperature |
+| sensor.{DEVICEID}\_freezer_setting_temp | sensor | Freezer Setting Temperature |
+| sensor.{DEVICEID}\_energy_consumption | sensor | Energy Consumptio |
+| sensor.{DEVICEID}\_refrigerator_actual_temp | sensor | Refrigerator Actual Temperature |
+| sensor.{DEVICEID}\_refrigerator_setting_temp | sensor | Refrigerator setting Temperature |
+| sensor.{DEVICEID}\_right_flex_zone_actual_temp | sensor | Right Flex-zone Actual Temperature |
+| sensor.{DEVICEID}\_right_flex_zone_setting_temp | sensor | Right Flex-zone Setting Temperature |
## Service
diff --git a/doc/CA_hans.md b/doc/CA_hans.md
index 9c33f7b1..ded98747 100644
--- a/doc/CA_hans.md
+++ b/doc/CA_hans.md
@@ -8,25 +8,25 @@
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|-----------------------------------------------------|---------------|-------------------------------------|----------|
-| binary_sensor.{DEVICEID}_bar_door | binary_sensor | Bar Door | 吧台门状态 |
-| binary_sensor.{DEVICEID}_bar_door_overtime | binary_sensor | Bar Door Overtime | 吧台门超时 |
-| binary_sensor.{DEVICEID}_flex_zone_door | binary_sensor | Flex-zone Door | 变温区门状态 |
-| binary_sensor.{DEVICEID}_flex_zone_door_overtime | binary_sensor | Flex-zone Door Overtime | 变温区门超时 |
-| binary_sensor.{DEVICEID}_freezer_door | binary_sensor | Freezer Door | 冷冻室门状态 |
-| binary_sensor.{DEVICEID}_freezer_door_overtime | binary_sensor | Freezer Door Overtime | 冷冻室门超时 |
-| binary_sensor.{DEVICEID}_refrigerator_door | binary_sensor | Refrigerator Door | 冷藏室门状态 |
-| binary_sensor.{DEVICEID}_refrigerator_door_overtime | binary_sensor | Refrigerator Door Overtime | 冷藏室门超时 |
-| sensor.{DEVICEID}_flex_zone_actual_temp | sensor | Flex-zone Actual Temperature | 变温区实际温度 |
-| sensor.{DEVICEID}_flex_zone_setting_temp | sensor | Flex-zone Setting Temperature | 变温区设置温度 |
-| sensor.{DEVICEID}_freezer_actual_temp | sensor | Freezer Actual Temperature | 冷冻室实际温度 |
-| sensor.{DEVICEID}_freezer_setting_temp | sensor | Freezer Setting Temperature | 冷冻室设置温度 |
-| sensor.{DEVICEID}_energy_consumption | sensor | Energy Consumption | 能耗 |
-| sensor.{DEVICEID}_refrigerator_actual_temp | sensor | Refrigerator Actual Temperature | 冷藏室实际温度 |
-| sensor.{DEVICEID}_refrigerator_setting_temp | sensor | Refrigerator setting Temperature | 冷藏室设置温度 |
-| sensor.{DEVICEID}_right_flex_zone_actual_temp | sensor | Right Flex-zone Actual Temperature | 右变温区实际温度 |
-| sensor.{DEVICEID}_right_flex_zone_setting_temp | sensor | Right Flex-zone Setting Temperature | 右变温区设置温度 |
+| EntityID | 类型 | 名称 | 描述 |
+| ---------------------------------------------------- | ------------- | ----------------------------------- | ---------------- |
+| binary_sensor.{DEVICEID}\_bar_door | binary_sensor | Bar Door | 吧台门状态 |
+| binary_sensor.{DEVICEID}\_bar_door_overtime | binary_sensor | Bar Door Overtime | 吧台门超时 |
+| binary_sensor.{DEVICEID}\_flex_zone_door | binary_sensor | Flex-zone Door | 变温区门状态 |
+| binary_sensor.{DEVICEID}\_flex_zone_door_overtime | binary_sensor | Flex-zone Door Overtime | 变温区门超时 |
+| binary_sensor.{DEVICEID}\_freezer_door | binary_sensor | Freezer Door | 冷冻室门状态 |
+| binary_sensor.{DEVICEID}\_freezer_door_overtime | binary_sensor | Freezer Door Overtime | 冷冻室门超时 |
+| binary_sensor.{DEVICEID}\_refrigerator_door | binary_sensor | Refrigerator Door | 冷藏室门状态 |
+| binary_sensor.{DEVICEID}\_refrigerator_door_overtime | binary_sensor | Refrigerator Door Overtime | 冷藏室门超时 |
+| sensor.{DEVICEID}\_flex_zone_actual_temp | sensor | Flex-zone Actual Temperature | 变温区实际温度 |
+| sensor.{DEVICEID}\_flex_zone_setting_temp | sensor | Flex-zone Setting Temperature | 变温区设置温度 |
+| sensor.{DEVICEID}\_freezer_actual_temp | sensor | Freezer Actual Temperature | 冷冻室实际温度 |
+| sensor.{DEVICEID}\_freezer_setting_temp | sensor | Freezer Setting Temperature | 冷冻室设置温度 |
+| sensor.{DEVICEID}\_energy_consumption | sensor | Energy Consumption | 能耗 |
+| sensor.{DEVICEID}\_refrigerator_actual_temp | sensor | Refrigerator Actual Temperature | 冷藏室实际温度 |
+| sensor.{DEVICEID}\_refrigerator_setting_temp | sensor | Refrigerator setting Temperature | 冷藏室设置温度 |
+| sensor.{DEVICEID}\_right_flex_zone_actual_temp | sensor | Right Flex-zone Actual Temperature | 右变温区实际温度 |
+| sensor.{DEVICEID}\_right_flex_zone_setting_temp | sensor | Right Flex-zone Setting Temperature | 右变温区设置温度 |
## 服务
diff --git a/doc/CC.md b/doc/CC.md
index 28effdf3..db11e63a 100644
--- a/doc/CC.md
+++ b/doc/CC.md
@@ -17,21 +17,21 @@
### Default entity
-| EntityID | Class | Description |
-|----------------------------|---------|----------------|
-| climate.{DEVICEID}_climate | climate | Climate entity |
+| EntityID | Class | Description |
+| --------------------------- | ------- | -------------- |
+| climate.{DEVICEID}\_climate | climate | Climate entity |
### Extra entities
-| EntityID | Class | Description |
-|--------------------------------------|--------|--------------------|
-| sensor.{DEVICEID}_indoor_temperature | sensor | Indoor Temperature |
-| switch.{DEVICEID}_aux_heating | switch | Aux Heating |
-| switch.{DEVICEID}_eco_mode | switch | ECO Mode |
-| switch.{DEVICEID}_night_light | switch | Night Light |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_sleep_mode | switch | Sleep Mode |
-| switch.{DEVICEID}_swing | switch | Swing |
+| EntityID | Class | Description |
+| ------------------------------------- | ------ | ------------------ |
+| sensor.{DEVICEID}\_indoor_temperature | sensor | Indoor Temperature |
+| switch.{DEVICEID}\_aux_heating | switch | Aux Heating |
+| switch.{DEVICEID}\_eco_mode | switch | ECO Mode |
+| switch.{DEVICEID}\_night_light | switch | Night Light |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_sleep_mode | switch | Sleep Mode |
+| switch.{DEVICEID}\_swing | switch | Swing |
## Service
@@ -42,7 +42,7 @@
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|------------------------------------------------------------------------------------------|
+| --------- | ---------------------------------------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "aux_heating"
"eco_mode"
"night_light"
"power"
"sleep_mode"
"swing" |
| value | true or false |
diff --git a/doc/CC_hans.md b/doc/CC_hans.md
index 13059d17..d57fa4ed 100644
--- a/doc/CC_hans.md
+++ b/doc/CC_hans.md
@@ -17,21 +17,21 @@
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|----------------------------|---------|-------|
-| climate.{DEVICEID}_climate | climate | 恒温器实体 |
+| 实体ID | 类型 | 描述 |
+| --------------------------- | ------- | ---------- |
+| climate.{DEVICEID}\_climate | climate | 恒温器实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|--------------------------------------|--------|--------------------|-------|
-| sensor.{DEVICEID}_indoor_temperature | sensor | Indoor Temperature | 室内温度 |
-| switch.{DEVICEID}_aux_heating | switch | Aux Heating | 电辅热 |
-| switch.{DEVICEID}_eco_mode | switch | ECO Mode | ECO模式 |
-| switch.{DEVICEID}_night_light | switch | Night Light | 夜灯 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_sleep_mode | switch | Sleep Mode | 睡眠模式 |
-| switch.{DEVICEID}_swing | switch | Swing | 摆风 |
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------- | ------ | ------------------ | -------- |
+| sensor.{DEVICEID}\_indoor_temperature | sensor | Indoor Temperature | 室内温度 |
+| switch.{DEVICEID}\_aux_heating | switch | Aux Heating | 电辅热 |
+| switch.{DEVICEID}\_eco_mode | switch | ECO Mode | ECO模式 |
+| switch.{DEVICEID}\_night_light | switch | Night Light | 夜灯 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_sleep_mode | switch | Sleep Mode | 睡眠模式 |
+| switch.{DEVICEID}\_swing | switch | Swing | 摆风 |
## 服务
@@ -43,11 +43,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|------------------------------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ---------------------------------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "aux_heating"
"eco_mode"
"night_light"
"power"
"sleep_mode"
"swing" |
-| value | true 或 false |
+| value | true 或 false |
示例
diff --git a/doc/CD.md b/doc/CD.md
index 4bb27759..983a1f77 100644
--- a/doc/CD.md
+++ b/doc/CD.md
@@ -1,6 +1,7 @@
# Heat Pump Water Heater
## Features
+
- Supports target temperature
- Supports operating modes
@@ -9,25 +10,26 @@
Set the temperature step of water heater (1 by default).
```json
-{"temperature_step": 0.5}
+{ "temperature_step": 0.5 }
```
## Entities
+
### Default entity
-| EntityID | Class | Description |
-|--------------------------------------|--------------|---------------------|
-| water_heater.{DEVICEID}_water_heater | water_heater | Water heater entity |
-### Extra entities
+| EntityID | Class | Description |
+| ------------------------------------- | ------------ | ------------------- |
+| water_heater.{DEVICEID}\_water_heater | water_heater | Water heater entity |
-| EntityID | Class | Description |
-|--------------------------------------------|---------------|---------------------------------------------------------|
-| sensor.{DEVICEID}_compressor_temperature | sensor | Compressor Temperature |
-| sensor.{DEVICEID}_condenser_temperature | sensor | Condenser Temperature |
-| sensor.{DEVICEID}_outdoor_temperature | sensor | Outdoor Temperature |
-| binary_sensor.{DEVICEID}_compressor_status | binary_sensor | Compressor Status (It may doesn't work in some devices) |
-| switch.{DEVICEID}_power | switch | Power |
+### Extra entities
+| EntityID | Class | Description |
+| ------------------------------------------- | ------------- | ------------------------------------------------------- |
+| sensor.{DEVICEID}\_compressor_temperature | sensor | Compressor Temperature |
+| sensor.{DEVICEID}\_condenser_temperature | sensor | Condenser Temperature |
+| sensor.{DEVICEID}\_outdoor_temperature | sensor | Outdoor Temperature |
+| binary_sensor.{DEVICEID}\_compressor_status | binary_sensor | Compressor Status (It may doesn't work in some devices) |
+| switch.{DEVICEID}\_power | switch | Power |
## Services
@@ -38,16 +40,17 @@ Set the temperature step of water heater (1 by default).
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "power" |
| value | true or false |
Example
+
```yaml
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: power
value: false
-```
\ No newline at end of file
+```
diff --git a/doc/CD_hans.md b/doc/CD_hans.md
index 05d92315..ec37a07f 100644
--- a/doc/CD_hans.md
+++ b/doc/CD_hans.md
@@ -7,26 +7,26 @@
设置温度调整步长 (默认为1).
```json
-{"temperature_step": 0.5}
+{ "temperature_step": 0.5 }
```
## 生成实体
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|--------------------------------------|--------------|-------|
-| water_heater.{DEVICEID}_water_heater | water_heater | 热水器实体 |
+| 实体ID | 类型 | 描述 |
+| ------------------------------------- | ------------ | ---------- |
+| water_heater.{DEVICEID}\_water_heater | water_heater | 热水器实体 |
### Extra entities
-| EntityID | 类型 | 名称 | 描述 |
-|--------------------------------------------|---------------|------------------------|--------------------------|
-| sensor.{DEVICEID}_compressor_temperature | sensor | Compressor Temperature | 压缩机温度 |
-| sensor.{DEVICEID}_condenser_temperature | sensor | Condenser Temperature | 冷凝器温度 |
-| sensor.{DEVICEID}_outdoor_temperature | sensor | Outdoor Temperature | 室外温度 |
-| binary_sensor.{DEVICEID}_compressor_status | binary_sensor | Compressor Status | 压缩机状态 (可能在部分机型上无法正确显示状态) |
-| switch.{DEVICEID}_power | switch | Power | 电源 |
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------------- | ------------- | ---------------------- | --------------------------------------------- |
+| sensor.{DEVICEID}\_compressor_temperature | sensor | Compressor Temperature | 压缩机温度 |
+| sensor.{DEVICEID}\_condenser_temperature | sensor | Condenser Temperature | 冷凝器温度 |
+| sensor.{DEVICEID}\_outdoor_temperature | sensor | Outdoor Temperature | 室外温度 |
+| binary_sensor.{DEVICEID}\_compressor_status | binary_sensor | Compressor Status | 压缩机状态 (可能在部分机型上无法正确显示状态) |
+| switch.{DEVICEID}\_power | switch | Power | 电源 |
## 服务
@@ -36,11 +36,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|------------------|
+| 名称 | 描述 |
+| --------- | --------------------- |
| device_id | 设备的编号(Device ID) |
-| attribute | "power" |
-| value | true 或 false |
+| attribute | "power" |
+| value | true 或 false |
示例
diff --git a/doc/CE_hans.md b/doc/CE_hans.md
index 0c043d47..b83c80a1 100644
--- a/doc/CE_hans.md
+++ b/doc/CE_hans.md
@@ -1,6 +1,6 @@
# 新风机
-***注意:部分美的的"中央新风机"产品,其实使用了空调的协议。如果你的新风机被识别为空调,参阅[内置新风系统](AC_hans.md#%E5%86%85%E7%BD%AE%E6%96%B0%E9%A3%8E%E7%B3%BB%E7%BB%9F)***
+**_注意:部分美的的"中央新风机"产品,其实使用了空调的协议。如果你的新风机被识别为空调,参阅[内置新风系统](AC_hans.md#%E5%86%85%E7%BD%AE%E6%96%B0%E9%A3%8E%E7%B3%BB%E7%BB%9F)_**
## 特性
@@ -12,35 +12,35 @@
设置风扇的挡位, 不包括"Off"在内(默认为3)。
```json
-{"speed_count": 5}
+{ "speed_count": 5 }
```
## 生成实体
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|--------------------|-----|------|
-| fan.{DEVICEID}_fan | fan | 风扇实体 |
+| 实体ID | 类型 | 描述 |
+| ------------------- | ---- | -------- |
+| fan.{DEVICEID}\_fan | fan | 风扇实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|---------------------------------------------------|---------------|--------------------------|--------|
-| binary_sensor.{DEVICEID}_filter_cleaning_reminder | binary_sensor | Filter Cleaning Reminder | 滤芯清洁提醒 |
-| binary_sensor.{DEVICEID}_filter_change_reminder | binary_sensor | Filter Change Reminder | 滤芯更换提醒 |
-| sensor.{DEVICEID}_current_humidity | sensor | Current Humidity | 当前湿度 |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
-| sensor.{DEVICEID}_co2 | sensor | Carbon Dioxide | 二氧化碳 |
-| sensor.{DEVICEID}_hcho | sensor | Methanal | 甲醛 |
-| sensor.{DEVICEID}_pm25 | sensor | PM 2.5 | PM 2.5 |
-| lock.{DEVICEID}_child_lock | lock | Child Lock | 童锁 |
-| switch.{DEVICEID}_aux_heating | switch | Aux Heating | 电辅热开关 |
-| switch.{DEVICEID}_eco_mode | switch | ECO Mode | 节能模式开关 |
-| switch.{DEVICEID}_link_to_ac | switch | Link to AC | 空调联动开关 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_powerful_purify | switch | Powerful Purification | 强净开关 |
-| switch.{DEVICEID}_sleep_mode | switch | Sleep Mode | 睡眠模式开关 |
+| EntityID | 类型 | 名称 | 描述 |
+| -------------------------------------------------- | ------------- | ------------------------ | ------------ |
+| binary_sensor.{DEVICEID}\_filter_cleaning_reminder | binary_sensor | Filter Cleaning Reminder | 滤芯清洁提醒 |
+| binary_sensor.{DEVICEID}\_filter_change_reminder | binary_sensor | Filter Change Reminder | 滤芯更换提醒 |
+| sensor.{DEVICEID}\_current_humidity | sensor | Current Humidity | 当前湿度 |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | 当前温度 |
+| sensor.{DEVICEID}\_co2 | sensor | Carbon Dioxide | 二氧化碳 |
+| sensor.{DEVICEID}\_hcho | sensor | Methanal | 甲醛 |
+| sensor.{DEVICEID}\_pm25 | sensor | PM 2.5 | PM 2.5 |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock | 童锁 |
+| switch.{DEVICEID}\_aux_heating | switch | Aux Heating | 电辅热开关 |
+| switch.{DEVICEID}\_eco_mode | switch | ECO Mode | 节能模式开关 |
+| switch.{DEVICEID}\_link_to_ac | switch | Link to AC | 空调联动开关 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_powerful_purify | switch | Powerful Purification | 强净开关 |
+| switch.{DEVICEID}\_sleep_mode | switch | Sleep Mode | 睡眠模式开关 |
## 服务
@@ -52,11 +52,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|-------------------------------------------------------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ----------------------------------------------------------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "child_lock"
"aux_heating"
"eco_mode"
"link_to_ac"
"power"
"powerful_purify"
"sleep_mode" |
-| value | true 或 false |
+| value | true 或 false |
示例
diff --git a/doc/CF_hans.md b/doc/CF_hans.md
index b4943532..84a47070 100644
--- a/doc/CF_hans.md
+++ b/doc/CF_hans.md
@@ -10,17 +10,17 @@
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|----------------------------|---------|-------|
-| climate.{DEVICEID}_climate | climate | 恒温器实体 |
+| 实体ID | 类型 | 描述 |
+| --------------------------- | ------- | ---------- |
+| climate.{DEVICEID}\_climate | climate | 恒温器实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|---------------------------------------|--------|---------------------|------|
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
-| switch.{DEVICEID}_aux_heating | switch | Aux Heating | 电辅热 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
+| EntityID | 类型 | 名称 | 描述 |
+| -------------------------------------- | ------ | ------------------- | -------- |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | 当前温度 |
+| switch.{DEVICEID}\_aux_heating | switch | Aux Heating | 电辅热 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
## Service
@@ -30,11 +30,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|---------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "aux_heating"
"power" |
-| value | true 或 false |
+| value | true 或 false |
示例
diff --git a/doc/DA.md b/doc/DA.md
index 49799269..48945951 100644
--- a/doc/DA.md
+++ b/doc/DA.md
@@ -8,12 +8,12 @@ No default entity
### Extra entities
-| EntityID | Class | Description |
-|----------------------------------|--------|----------------|
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_start | switch | Start |
+| EntityID | Class | Description |
+| --------------------------------- | ------ | -------------- |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_start | switch | Start |
## Service
@@ -24,7 +24,7 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "power"
"start" |
| value | true or false |
diff --git a/doc/DB.md b/doc/DB.md
index 958c3216..718ec8e8 100644
--- a/doc/DB.md
+++ b/doc/DB.md
@@ -8,12 +8,12 @@ No default entity
### Extra entities
-| EntityID | Class | Description |
-|----------------------------------|--------|----------------|
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_start | switch | Start |
+| EntityID | Class | Description |
+| --------------------------------- | ------ | -------------- |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_start | switch | Start |
## Service
@@ -24,7 +24,7 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "power"
"start" |
| value | true or false |
diff --git a/doc/DB_hans.md b/doc/DB_hans.md
index 46d15aa9..acd704fd 100644
--- a/doc/DB_hans.md
+++ b/doc/DB_hans.md
@@ -8,12 +8,12 @@
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|----------------------------------|--------|----------------|------|
-| sensor.{DEVICEID}_progress | sensor | Progress | 当前程序 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_start | switch | Start | 启动暂停 |
+| EntityID | 类型 | 名称 | 描述 |
+| --------------------------------- | ------ | -------------- | -------- |
+| sensor.{DEVICEID}\_progress | sensor | Progress | 当前程序 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_start | switch | Start | 启动暂停 |
## 服务
@@ -23,11 +23,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|---------------------|
-| device_id | 设备的编号(Device ID) |
-| attribute | "power"
"start" |
-| value | true 或 false |
+| 名称 | 描述 |
+| --------- | --------------------- |
+| device_id | 设备的编号(Device ID) |
+| attribute | "power"
"start" |
+| value | true 或 false |
示例
diff --git a/doc/DC.md b/doc/DC.md
index 3bd63e01..c7bfacbd 100644
--- a/doc/DC.md
+++ b/doc/DC.md
@@ -8,12 +8,12 @@ No default entity
### Extra entities
-| EntityID | Class | Description |
-|----------------------------------|--------|----------------|
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_start | switch | Start |
+| EntityID | Class | Description |
+| --------------------------------- | ------ | -------------- |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_start | switch | Start |
## Service
@@ -24,7 +24,7 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "power"
"start" |
| value | true or false |
diff --git a/doc/DC_hans.md b/doc/DC_hans.md
index 32df0611..64f52397 100644
--- a/doc/DC_hans.md
+++ b/doc/DC_hans.md
@@ -8,12 +8,12 @@
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|----------------------------------|--------|----------------|------|
-| sensor.{DEVICEID}_progress | sensor | Progress | 当前程序 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
-| switch.{DEVICEID}_start | switch | Start | 启动暂停 |
+| EntityID | 类型 | 名称 | 描述 |
+| --------------------------------- | ------ | -------------- | -------- |
+| sensor.{DEVICEID}\_progress | sensor | Progress | 当前程序 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
+| switch.{DEVICEID}\_start | switch | Start | 启动暂停 |
## 服务
@@ -23,11 +23,11 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|---------------------|
-| device_id | 设备的编号(Device ID) |
-| attribute | "power"
"start" |
-| value | true 或 false |
+| 名称 | 描述 |
+| --------- | --------------------- |
+| device_id | 设备的编号(Device ID) |
+| attribute | "power"
"start" |
+| value | true 或 false |
示例
diff --git a/doc/E1.md b/doc/E1.md
index b35f140a..c098dc98 100644
--- a/doc/E1.md
+++ b/doc/E1.md
@@ -8,24 +8,24 @@ No default entity
### Extra entities
-| EntityID | Class | Description |
-|-------------------------------------|---------------|------------------------|
-| binary_sensor.{DEVICEID}_door | binary_sensor | Door |
-| binary_sensor.{DEVICEID}_rinse_aid | binary_sensor | Rinse Aid Shortage |
-| binary_sensor.{DEVICEID}_salt | binary_sensor | Salt Shortage |
-| sensor.{DEVICEID}_humidity | sensor | Humidity |
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_status | sensor | Status |
-| sensor.{DEVICEID}_storage_remaining | sensor | Storage Time Remaining |
-| sensor.{DEVICEID}_temperature | sensor | Temperature |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| sensor.{DEVICEID}_mode | sensor | Mode |
-| sensor.{DEVICEID}_error_code | sensor | Error Code |
-| sensor.{DEVICEID}_softwater | sensor | Softwater Level |
-| sensor.{DEVICEID}_bright | sensor | Bright Level |
-| lock.{DEVICEID}_child_lock | lock | Child Lock |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_storage | switch | Storage |
+| EntityID | Class | Description |
+| ------------------------------------ | ------------- | ---------------------- |
+| binary_sensor.{DEVICEID}\_door | binary_sensor | Door |
+| binary_sensor.{DEVICEID}\_rinse_aid | binary_sensor | Rinse Aid Shortage |
+| binary_sensor.{DEVICEID}\_salt | binary_sensor | Salt Shortage |
+| sensor.{DEVICEID}\_humidity | sensor | Humidity |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_status | sensor | Status |
+| sensor.{DEVICEID}\_storage_remaining | sensor | Storage Time Remaining |
+| sensor.{DEVICEID}\_temperature | sensor | Temperature |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| sensor.{DEVICEID}\_mode | sensor | Mode |
+| sensor.{DEVICEID}\_error_code | sensor | Error Code |
+| sensor.{DEVICEID}\_softwater | sensor | Softwater Level |
+| sensor.{DEVICEID}\_bright | sensor | Bright Level |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_storage | switch | Storage |
## Service
@@ -36,7 +36,7 @@ No default entity
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"power"
"storage" |
| value | true or false |
diff --git a/doc/E2.md b/doc/E2.md
index efb72367..c0c3e80f 100644
--- a/doc/E2.md
+++ b/doc/E2.md
@@ -7,35 +7,35 @@
## Customize
- Set the protocol of device ("auto" by default).
-There are 2 different protocol version to control Electric Water Heater, "old protocol" or "new protocol".
-If you can't control your device, try change this item and see if it works.
-The options include true, false, and "auto".
+ There are 2 different protocol version to control Electric Water Heater, "old protocol" or "new protocol".
+ If you can't control your device, try change this item and see if it works.
+ The options include true, false, and "auto".
```json
-{"old_protocol": true}
+{ "old_protocol": true }
```
## Entities
### Default entity
-| EntityID | Class | Description |
-|--------------------------------------|--------------|---------------------|
-| water_heater.{DEVICEID}_water_heater | water_heater | Water heater entity |
+| EntityID | Class | Description |
+| ------------------------------------- | ------------ | ------------------- |
+| water_heater.{DEVICEID}\_water_heater | water_heater | Water heater entity |
### Extra entities
-| EntityID | Class | Description |
-|------------------------------------------|---------------|---------------------|
-| binary_sensor.{DEVICEID}_heating | binary_sensor | Heating |
-| binary_sensor.{DEVICEID}_heat_insulating | binary_sensor | Heat Insulating |
-| binary_sensor.{DEVICEID}_protection | binary_sensor | Protection |
-| sensor.{DEVICEID}_heating_power | sensor | Heating Power |
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
-| switch.{DEVICEID}_auto_cut_out | switch | Auto Cut-out |
-| switch.{DEVICEID}_power | switch | Power |
-| switch.{DEVICEID}_variable_heating | switch | Variable Heating |
-| switch.{DEVICEID}_whole_tank_heating | switch | Whole Tank Heating |
+| EntityID | Class | Description |
+| ----------------------------------------- | ------------- | ------------------- |
+| binary_sensor.{DEVICEID}\_heating | binary_sensor | Heating |
+| binary_sensor.{DEVICEID}\_heat_insulating | binary_sensor | Heat Insulating |
+| binary_sensor.{DEVICEID}\_protection | binary_sensor | Protection |
+| sensor.{DEVICEID}\_heating_power | sensor | Heating Power |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature |
+| switch.{DEVICEID}\_auto_cut_out | switch | Auto Cut-out |
+| switch.{DEVICEID}\_power | switch | Power |
+| switch.{DEVICEID}\_variable_heating | switch | Variable Heating |
+| switch.{DEVICEID}\_whole_tank_heating | switch | Whole Tank Heating |
## Services
@@ -46,7 +46,7 @@ The options include true, false, and "auto".
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|------------------------------------------------------------------------------|
+| --------- | ---------------------------------------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "auto_cut_out"
"power"
"variable_heating"
"whole_tank_heating" |
| value | true or false |
diff --git a/doc/E6.md b/doc/E6.md
index f54964e9..3886a64b 100644
--- a/doc/E6.md
+++ b/doc/E6.md
@@ -4,21 +4,21 @@
### Default entity
-| EntityID | Class | Description |
-|----------------------------------------------|--------------|-----------------------------|
-| water_heater.{DEVICEID}_water_heater_heating | water_heater | Heating water heater entity |
-| water_heater.{DEVICEID}_water_heater_bathing | water_heater | Bathing water heater entity |
+| EntityID | Class | Description |
+| --------------------------------------------- | ------------ | --------------------------- |
+| water_heater.{DEVICEID}\_water_heater_heating | water_heater | Heating water heater entity |
+| water_heater.{DEVICEID}\_water_heater_bathing | water_heater | Bathing water heater entity |
### Extra entities
-| EntityID | Class | Description |
-|-----------------------------------------------|---------------|-----------------------------------|
-| binary_sensor.{DEVICEID}_heating_working | binary_sensor | Heating Working Status |
-| binary_sensor.{DEVICEID}_bathing_working | binary_sensor | Bathing Working Status |
-| sensor.{DEVICEID}_heating_leaving_temperature | sensor | Heating Leaving Water Temperature |
-| sensor.{DEVICEID}_bathing_leaving_temperature | sensor | Bathing Leaving Water Temperature |
-| switch.{DEVICEID}_main_power | switch | Main power |
-| sensor.{DEVICEID}_heating_power | switch | Heating power |
+| EntityID | Class | Description |
+| ---------------------------------------------- | ------------- | --------------------------------- |
+| binary_sensor.{DEVICEID}\_heating_working | binary_sensor | Heating Working Status |
+| binary_sensor.{DEVICEID}\_bathing_working | binary_sensor | Bathing Working Status |
+| sensor.{DEVICEID}\_heating_leaving_temperature | sensor | Heating Leaving Water Temperature |
+| sensor.{DEVICEID}\_bathing_leaving_temperature | sensor | Bathing Leaving Water Temperature |
+| switch.{DEVICEID}\_main_power | switch | Main power |
+| sensor.{DEVICEID}\_heating_power | switch | Heating power |
## Service
@@ -29,7 +29,7 @@
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "main_power"
"heating_power" |
| value | true or false |
diff --git a/doc/EA.md b/doc/EA.md
index 1e51d4d9..6a7b60a8 100644
--- a/doc/EA.md
+++ b/doc/EA.md
@@ -8,16 +8,16 @@ No default entity.
### Extra entities
-| EntityID | Class | Description |
-|--------------------------------------|---------------|--------------------|
-| binary_sensor.{DEVICEID}_cooking | binary_sensor | Cooking |
-| binary_sensor.{DEVICEID}_keep_warm | binary_sensor | Keep Warm |
-| sensor.{DEVICEID}_bottom_temperature | sensor | Bottom Temperature |
-| sensor.{DEVICEID}_keep_warm_time | sensor | Keep Warm Time |
-| sensor.{DEVICEID}_mode | sensor | Mode |
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| sensor.{DEVICEID}_top_temperature | sensor | Top Temperature |
+| EntityID | Class | Description |
+| ------------------------------------- | ------------- | ------------------ |
+| binary_sensor.{DEVICEID}\_cooking | binary_sensor | Cooking |
+| binary_sensor.{DEVICEID}\_keep_warm | binary_sensor | Keep Warm |
+| sensor.{DEVICEID}\_bottom_temperature | sensor | Bottom Temperature |
+| sensor.{DEVICEID}\_keep_warm_time | sensor | Keep Warm Time |
+| sensor.{DEVICEID}\_mode | sensor | Mode |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| sensor.{DEVICEID}\_top_temperature | sensor | Top Temperature |
## Service
diff --git a/doc/EA_hans.md b/doc/EA_hans.md
index 8fb91828..eeb585c7 100644
--- a/doc/EA_hans.md
+++ b/doc/EA_hans.md
@@ -8,16 +8,16 @@
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|--------------------------------------|---------------|--------------------|------|
-| binary_sensor.{DEVICEID}_cooking | binary_sensor | Cooking | 烹饪中 |
-| binary_sensor.{DEVICEID}_keep_warm | binary_sensor | Keep Warm | 保温中 |
-| sensor.{DEVICEID}_bottom_temperature | sensor | Bottom Temperature | 底部温度 |
-| sensor.{DEVICEID}_keep_warm_time | sensor | Keep Warm Time | 保温时间 |
-| sensor.{DEVICEID}_mode | sensor | Mode | 模式 |
-| sensor.{DEVICEID}_progress | sensor | Progress | 当前程序 |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining | 剩余时间 |
-| sensor.{DEVICEID}_top_temperature | sensor | Top Temperature | 顶部温度 |
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------- | ------------- | ------------------ | -------- |
+| binary_sensor.{DEVICEID}\_cooking | binary_sensor | Cooking | 烹饪中 |
+| binary_sensor.{DEVICEID}\_keep_warm | binary_sensor | Keep Warm | 保温中 |
+| sensor.{DEVICEID}\_bottom_temperature | sensor | Bottom Temperature | 底部温度 |
+| sensor.{DEVICEID}\_keep_warm_time | sensor | Keep Warm Time | 保温时间 |
+| sensor.{DEVICEID}\_mode | sensor | Mode | 模式 |
+| sensor.{DEVICEID}\_progress | sensor | Progress | 当前程序 |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining | 剩余时间 |
+| sensor.{DEVICEID}\_top_temperature | sensor | Top Temperature | 顶部温度 |
## 服务
diff --git a/doc/EC.md b/doc/EC.md
index ed9d7bec..702bd853 100644
--- a/doc/EC.md
+++ b/doc/EC.md
@@ -8,16 +8,16 @@ No default entity.
### Extra entities
-| EntityID | Class | Description |
-|----------------------------------------|---------------|--------------------|
-| binary_sensor.{DEVICEID}_cooking | binary_sensor | Cooking |
-| binary_sensor.{DEVICEID}_with_pressure | binary_sensor | With Pressure |
-| sensor.{DEVICEID}_bottom_temperature | sensor | Bottom Temperature |
-| sensor.{DEVICEID}_keep_warm_time | sensor | Keep Warm Time |
-| sensor.{DEVICEID}_mode | sensor | Mode |
-| sensor.{DEVICEID}_progress | sensor | Progress |
-| sensor.{DEVICEID}_time_remaining | sensor | Time Remaining |
-| sensor.{DEVICEID}_top_temperature | sensor | Top Temperature |
+| EntityID | Class | Description |
+| --------------------------------------- | ------------- | ------------------ |
+| binary_sensor.{DEVICEID}\_cooking | binary_sensor | Cooking |
+| binary_sensor.{DEVICEID}\_with_pressure | binary_sensor | With Pressure |
+| sensor.{DEVICEID}\_bottom_temperature | sensor | Bottom Temperature |
+| sensor.{DEVICEID}\_keep_warm_time | sensor | Keep Warm Time |
+| sensor.{DEVICEID}\_mode | sensor | Mode |
+| sensor.{DEVICEID}\_progress | sensor | Progress |
+| sensor.{DEVICEID}\_time_remaining | sensor | Time Remaining |
+| sensor.{DEVICEID}\_top_temperature | sensor | Top Temperature |
## Service
diff --git a/doc/ED.md b/doc/ED.md
index fffd2401..5800eb4b 100644
--- a/doc/ED.md
+++ b/doc/ED.md
@@ -8,19 +8,19 @@ No default entity.
### Extra entities
-| EntityID | Class | Description |
-|-------------------------------------|--------|------------------------|
-| sensor.{DEVICEID}_filter1 | sensor | Filter1 Available Days |
-| sensor.{DEVICEID}_filter2 | sensor | Filter2 Available Days |
-| sensor.{DEVICEID}_filter3 | sensor | Filter3 Available Days |
-| sensor.{DEVICEID}_life1 | sensor | Filter1 Life Level |
-| sensor.{DEVICEID}_life2 | sensor | Filter2 Life Level |
-| sensor.{DEVICEID}_life3 | sensor | Filter3 Life Level |
-| sensor.{DEVICEID}_in_tds | sensor | In TDS |
-| sensor.{DEVICEID}_out_tds | sensor | Out TDS |
-| sensor.{DEVICEID}_water_consumption | sensor | Water Consumption |
-| lock.{DEVICEID}_child_lock | switch | Child Lock |
-| switch.{DEVICEID}_power | switch | Power |
+| EntityID | Class | Description |
+| ------------------------------------ | ------ | ---------------------- |
+| sensor.{DEVICEID}\_filter1 | sensor | Filter1 Available Days |
+| sensor.{DEVICEID}\_filter2 | sensor | Filter2 Available Days |
+| sensor.{DEVICEID}\_filter3 | sensor | Filter3 Available Days |
+| sensor.{DEVICEID}\_life1 | sensor | Filter1 Life Level |
+| sensor.{DEVICEID}\_life2 | sensor | Filter2 Life Level |
+| sensor.{DEVICEID}\_life3 | sensor | Filter3 Life Level |
+| sensor.{DEVICEID}\_in_tds | sensor | In TDS |
+| sensor.{DEVICEID}\_out_tds | sensor | Out TDS |
+| sensor.{DEVICEID}\_water_consumption | sensor | Water Consumption |
+| lock.{DEVICEID}\_child_lock | switch | Child Lock |
+| switch.{DEVICEID}\_power | switch | Power |
## Service
diff --git a/doc/FA_hans.md b/doc/FA_hans.md
index 33426dd0..5ea180db 100644
--- a/doc/FA_hans.md
+++ b/doc/FA_hans.md
@@ -12,27 +12,27 @@
设置风扇的挡位, 不包括"Off"在内(默认为3)。
```json
-{"speed_count": 5}
+{ "speed_count": 5 }
```
## 生成实体
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|--------------------|-----|------|
-| fan.{DEVICEID}_fan | fan | 风扇实体 |
+| 实体ID | 类型 | 描述 |
+| ------------------- | ---- | -------- |
+| fan.{DEVICEID}\_fan | fan | 风扇实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|-------------------------------------|--------|-------------------|--------|
-| select.{DEVICEID}_oscillation_mode | select | Oscillation Mode | 摆头模式 |
-| select.{DEVICEID}_oscillation_angle | select | Oscillation Angle | 水平摆头角度 |
-| select.{DEVICEID}_tilting_angle | select | Tilting Angle | 垂直摆头角度 |
-| lock.{DEVICEID}_child_lock | lock | Child Lock | 童锁 |
-| switch.{DEVICEID}_oscillate | switch | Oscillate | 摆头开关 |
-| switch.{DEVICEID}_power | switch | Power | 电源开关 |
+| EntityID | 类型 | 名称 | 描述 |
+| ------------------------------------ | ------ | ----------------- | ------------ |
+| select.{DEVICEID}\_oscillation_mode | select | Oscillation Mode | 摆头模式 |
+| select.{DEVICEID}\_oscillation_angle | select | Oscillation Angle | 水平摆头角度 |
+| select.{DEVICEID}\_tilting_angle | select | Tilting Angle | 垂直摆头角度 |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock | 童锁 |
+| switch.{DEVICEID}\_oscillate | switch | Oscillate | 摆头开关 |
+| switch.{DEVICEID}\_power | switch | Power | 电源开关 |
## 服务
@@ -42,27 +42,27 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ---------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "child_lock"
"oscillate" |
-| value | true 或 false |
+| value | true 或 false |
-| 名称 | 描述 |
-|-----------|---------------------------------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------------------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "oscillation_mode" |
| value | "Off"
"Oscillation"
"Tilting"
"Curve-W"
"Curve-8"
"Reserved"
"Both" |
-| 名称 | 描述 |
-|-----------|----------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | -------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "oscillation_angle" |
| value | "Off"
"30"
"60"
"90"
"120"
"180"
"360" |
-| 名称 | 描述 |
-|-----------|---------------------------------------------------------------------------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------------------------------------------------------------------------- |
+| device_id | 设备的编号(Device ID) |
| attribute | "tilting_angle" |
| value | "Off"
"30"
"60"
"90"
"120"
"180"
"360"
"+60"
"-60"
"40" |
diff --git a/doc/FB.md b/doc/FB.md
index a09062fc..68dc4052 100644
--- a/doc/FB.md
+++ b/doc/FB.md
@@ -9,18 +9,18 @@
### Default entity
-| EntityID | Class | Description |
-|----------------------------|---------|----------------|
-| climate.{DEVICEID}_climate | climate | Climate entity |
+| EntityID | Class | Description |
+| --------------------------- | ------- | -------------- |
+| climate.{DEVICEID}\_climate | climate | Climate entity |
### Extra entities
-| EntityID | Class | Description |
-|---------------------------------------|--------|---------------------|
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature |
-| lock.{DEVICEID}_child_lock | lock | Child Lock |
-| number.{DEVICEID}_heating_level | number | Heating Level |
-| switch.{DEVICEID}_power | switch | Power |
+| EntityID | Class | Description |
+| -------------------------------------- | ------ | ------------------- |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature |
+| lock.{DEVICEID}\_child_lock | lock | Child Lock |
+| number.{DEVICEID}\_heating_level | number | Heating Level |
+| switch.{DEVICEID}\_power | switch | Power |
## Service
@@ -31,13 +31,13 @@
Set the attribute of appliance. Service data:
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "child_lock"
"power" |
| value | true or false |
| Name | Description |
-|-----------|---------------------------------------------|
+| --------- | ------------------------------------------- |
| device_id | The Appliance code (Device ID) of appliance |
| attribute | "heating_level" |
| value | 1 - 10 |
diff --git a/doc/FB_hans.md b/doc/FB_hans.md
index a5a84463..0883f9fc 100644
--- a/doc/FB_hans.md
+++ b/doc/FB_hans.md
@@ -9,18 +9,18 @@
### 默认生成实体
-| 实体ID | 类型 | 描述 |
-|----------------------------|---------|-------|
-| climate.{DEVICEID}_climate | climate | 恒温器实体 |
+| 实体ID | 类型 | 描述 |
+| --------------------------- | ------- | ---------- |
+| climate.{DEVICEID}\_climate | climate | 恒温器实体 |
### 额外生成实体
-| EntityID | 类型 | 名称 | 描述 |
-|---------------------------------------|--------|---------------------|------|
-| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
-| lock.{DEVICEID}_child_lock | lock | 童锁 | |
-| number.{DEVICEID}_heating_level | number | 加热档位 | |
-| switch.{DEVICEID}_power | switch | 电源开关 | |
+| EntityID | 类型 | 名称 | 描述 |
+| -------------------------------------- | ------ | ------------------- | -------- |
+| sensor.{DEVICEID}\_current_temperature | sensor | Current Temperature | 当前温度 |
+| lock.{DEVICEID}\_child_lock | lock | 童锁 | |
+| number.{DEVICEID}\_heating_level | number | 加热档位 | |
+| switch.{DEVICEID}\_power | switch | 电源开关 | |
## 服务
@@ -30,17 +30,17 @@
设置设备属性, 服务数据:
-| 名称 | 描述 |
-|-----------|--------------------------|
-| device_id | 设备的编号(Device ID) |
+| 名称 | 描述 |
+| --------- | ------------------------ |
+| device_id | 设备的编号(Device ID) |
| attribute | "child_lock"
"power" |
-| value | true 或 false |
+| value | true 或 false |
-| 名称 | 描述 |
-|-----------|------------------|
+| 名称 | 描述 |
+| --------- | --------------------- |
| device_id | 设备的编号(Device ID) |
-| attribute | "heating_level" |
-| value | 1 - 10 |
+| attribute | "heating_level" |
+| value | 1 - 10 |
示例
diff --git a/hacs.json b/hacs.json
index 0806be08..fb8a546b 100644
--- a/hacs.json
+++ b/hacs.json
@@ -1,7 +1,7 @@
{
- "name": "Midea AC LAN",
- "render_readme": true,
- "homeassistant": "2023.1",
- "zip_release": true,
- "filename": "midea_ac_lan.zip"
+ "name": "Midea AC LAN",
+ "render_readme": true,
+ "homeassistant": "2023.1",
+ "zip_release": true,
+ "filename": "midea_ac_lan.zip"
}