mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-27 23:07:10 +00:00
Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92c656803a | ||
|
|
5a3941fd19 | ||
|
|
61a8115244 | ||
|
|
8417fb380a | ||
|
|
8aa0fc93fc | ||
|
|
96a9d49fcf | ||
|
|
270bfa3df8 | ||
|
|
f1513b8f0e | ||
|
|
3619b06af1 | ||
|
|
a25c14537e | ||
|
|
68214cbad2 | ||
|
|
84f8b4b090 | ||
|
|
02ae8bc33f | ||
|
|
2c45cd3890 | ||
|
|
7f50ba6d42 | ||
|
|
fa7e228898 | ||
|
|
cd611d1d55 | ||
|
|
66babf8c43 | ||
|
|
1f0662154a | ||
|
|
7080958674 | ||
|
|
1cfd16d1ff | ||
|
|
0f27dfee71 | ||
|
|
0f2cfc14ad | ||
|
|
a90d1093ad | ||
|
|
ddfc18cc2b | ||
|
|
3f0ec3faa9 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -155,6 +155,7 @@ cython_debug/
|
||||
|
||||
decrypt_lua.py
|
||||
test.py
|
||||
test_cloud.py
|
||||
*.lua
|
||||
|
||||
time.py
|
||||
@@ -20,6 +20,7 @@ Get devices from MSmartHome/Midea Meiju homes through the network and control th
|
||||
|
||||
- T0x13 Electric Light
|
||||
- T0x15 Water Heater
|
||||
- T0x17 Laundry Machine
|
||||
- T0x21 Central Air Conditioning Gateway
|
||||
- T0x26 Bath Heater
|
||||
- T0x3D Water Heater
|
||||
@@ -32,7 +33,9 @@ Get devices from MSmartHome/Midea Meiju homes through the network and control th
|
||||
- T0xB6 Range Hood
|
||||
- T0xB7 Gas Stove
|
||||
- T0xB8 Smart Robot Vacuum
|
||||
- T0xBC Air Sensor
|
||||
- T0xBF Microwave Steam Oven
|
||||
- T0xC1 Wall hanging furnace
|
||||
- T0xC3 Heat Pump
|
||||
- T0xCA French Door Refrigerator
|
||||
- T0xCC Central Air Conditioning (Ducted) Wi-Fi Controller
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
- T0x13 电灯
|
||||
- T0x15 养生壶
|
||||
- T0x17 智能晾衣架
|
||||
- T0x21 中央空调网关
|
||||
- T0x26 浴霸
|
||||
- T0x3D 电热水瓶
|
||||
@@ -32,7 +33,9 @@
|
||||
- T0xB6 抽油烟机
|
||||
- T0xB7 燃气灶
|
||||
- T0xB8 智能扫地机器人
|
||||
- T0xBC 空气检测仪
|
||||
- T0xBF 微波炉
|
||||
- T0xC1 壁挂炉
|
||||
- T0xC3 热泵
|
||||
- T0xCA 对开门冰箱
|
||||
- T0xCC 中央空调(风管机)Wi-Fi线控器
|
||||
|
||||
@@ -369,6 +369,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry):
|
||||
for k in preset_keys:
|
||||
if k not in device.attributes:
|
||||
device.attributes[k] = None
|
||||
# 针对T0xD9复式洗衣机,设置默认的筒选择为左筒
|
||||
if device.device_type == 0xD9:
|
||||
device.attributes["db_location_selection"] = "left"
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
@@ -337,7 +337,7 @@ class MideaClimateEntity(MideaEntity, ClimateEntity):
|
||||
new_status = self._key_preset_modes.get(preset_mode)
|
||||
await self.async_set_attributes(new_status)
|
||||
|
||||
async def async_set_hvac_mode(self, hvac_mode: str):
|
||||
async def async_set_hvac_mode(self, hvac_mode: HVACMode):
|
||||
if self._is_central_ac:
|
||||
run_mode = self._key_hvac_modes.get(hvac_mode)
|
||||
await self.coordinator.async_send_central_ac_control(run_mode)
|
||||
|
||||
@@ -29,8 +29,7 @@ clouds = {
|
||||
"app_key": "ac21b9f9cbfe4ca5a88562ef25e2b768",
|
||||
"iot_key": bytes.fromhex(format(7882822598523843940, 'x')).decode(),
|
||||
"hmac_key": bytes.fromhex(format(117390035944627627450677220413733956185864939010425, 'x')).decode(),
|
||||
"api_url": "https://mp-eu-prod.appsmb.com/mas/v5/app/proxy?alias=",
|
||||
# "api_url": "https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=",
|
||||
"api_url": "https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -51,7 +50,8 @@ class MideaCloud:
|
||||
app_key: str,
|
||||
account: str,
|
||||
password: str,
|
||||
api_url: str
|
||||
api_url: str,
|
||||
proxy: str | None = None
|
||||
):
|
||||
self._device_id = CloudSecurity.get_deviceid(account)
|
||||
self._session = session
|
||||
@@ -60,6 +60,7 @@ class MideaCloud:
|
||||
self._account = account
|
||||
self._password = password
|
||||
self._api_url = api_url
|
||||
self._proxy = proxy
|
||||
self._access_token = None
|
||||
self._login_id = None
|
||||
|
||||
@@ -93,7 +94,14 @@ class MideaCloud:
|
||||
response:dict = {"code": -1}
|
||||
_LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}")
|
||||
try:
|
||||
r = await self._session.request(method, url, headers=header, data=dump_data, timeout=30)
|
||||
r = await self._session.request(
|
||||
method,
|
||||
url,
|
||||
headers=header,
|
||||
data=dump_data,
|
||||
timeout=30,
|
||||
proxy=self._proxy
|
||||
)
|
||||
raw = await r.read()
|
||||
_LOGGER.debug(f"Midea cloud API url: {url}, header: {header}, data: {data}, response: {raw}")
|
||||
response = json.loads(raw)
|
||||
@@ -151,7 +159,8 @@ class MideaCloud:
|
||||
async def _get_login_id(self) -> str | None:
|
||||
data = self._make_general_data()
|
||||
data.update({
|
||||
"loginAccount": f"{self._account}"
|
||||
"loginAccount": f"{self._account}",
|
||||
"type": "1",
|
||||
})
|
||||
if response := await self._api_request(
|
||||
endpoint="/v1/user/login/id/get",
|
||||
@@ -213,6 +222,7 @@ class MeijuCloud(MideaCloud):
|
||||
session: ClientSession,
|
||||
account: str,
|
||||
password: str,
|
||||
proxy: str | None = None,
|
||||
):
|
||||
super().__init__(
|
||||
session=session,
|
||||
@@ -224,7 +234,8 @@ class MeijuCloud(MideaCloud):
|
||||
app_key=clouds[cloud_name]["app_key"],
|
||||
account=account,
|
||||
password=password,
|
||||
api_url=clouds[cloud_name]["api_url"]
|
||||
api_url=clouds[cloud_name]["api_url"],
|
||||
proxy=proxy
|
||||
)
|
||||
self._homegroup_id = None
|
||||
|
||||
@@ -584,6 +595,7 @@ class MSmartHomeCloud(MideaCloud):
|
||||
session: ClientSession,
|
||||
account: str,
|
||||
password: str,
|
||||
proxy: str | None = None,
|
||||
):
|
||||
super().__init__(
|
||||
session=session,
|
||||
@@ -595,7 +607,8 @@ class MSmartHomeCloud(MideaCloud):
|
||||
app_key=clouds[cloud_name]["app_key"],
|
||||
account=account,
|
||||
password=password,
|
||||
api_url=clouds[cloud_name]["api_url"]
|
||||
api_url=clouds[cloud_name]["api_url"],
|
||||
proxy=proxy
|
||||
)
|
||||
self._auth_base = base64.b64encode(
|
||||
f"{self._app_key}:{clouds['MSmartHome']['iot_key']}".encode("ascii")
|
||||
@@ -631,18 +644,19 @@ class MSmartHomeCloud(MideaCloud):
|
||||
async def _re_route(self):
|
||||
data = self._make_general_data()
|
||||
data.update({
|
||||
"userType": "0",
|
||||
"userName": f"{self._account}"
|
||||
"userName": f"{self._account}",
|
||||
"platformId": "1",
|
||||
"userType": "0"
|
||||
})
|
||||
if response := await self._api_request(
|
||||
endpoint="/v1/multicloud/platform/user/route",
|
||||
endpoint="/v1/unitcenter/router/user/name",
|
||||
data=data
|
||||
):
|
||||
if api_url := response.get("masUrl"):
|
||||
self._api_url = api_url
|
||||
|
||||
async def login(self) -> bool:
|
||||
# await self._re_route()
|
||||
await self._re_route()
|
||||
if login_id := await self._get_login_id():
|
||||
self._login_id = login_id
|
||||
iot_data = self._make_general_data()
|
||||
@@ -830,13 +844,14 @@ class MSmartHomeCloud(MideaCloud):
|
||||
return response is not None
|
||||
|
||||
|
||||
def get_midea_cloud(cloud_name: str, session: ClientSession, account: str, password: str) -> MideaCloud | None:
|
||||
def get_midea_cloud(cloud_name: str, session: ClientSession, account: str, password: str, proxy: str | None = None) -> MideaCloud | None:
|
||||
cloud = None
|
||||
if cloud_name in clouds.keys():
|
||||
cloud = globals()[clouds[cloud_name]["class_name"]](
|
||||
cloud_name=cloud_name,
|
||||
session=session,
|
||||
account=account,
|
||||
password=password
|
||||
password=password,
|
||||
proxy=proxy
|
||||
)
|
||||
return cloud
|
||||
|
||||
@@ -166,6 +166,22 @@ class MiedaDevice(threading.Thread):
|
||||
new_status[attr] = self._attributes.get(attr)
|
||||
new_status[attribute] = value
|
||||
|
||||
# 针对T0xD9复式洗衣机,当切换筒选择时,立即刷新状态以显示新筒的状态
|
||||
if self._device_type == 0xD9 and attribute == "db_location_selection":
|
||||
# 更新属性
|
||||
self._attributes[attribute] = value
|
||||
# 立即刷新状态以显示新筒的状态
|
||||
await self.refresh_status()
|
||||
return
|
||||
|
||||
# 针对T0xD9复式洗衣机,根据选择的筒添加db_location参数
|
||||
if self._device_type == 0xD9 and attribute != "db_location_selection":
|
||||
location_selection = self._attributes.get("db_location_selection", "left")
|
||||
if location_selection == "left":
|
||||
new_status["db_location"] = 1
|
||||
elif location_selection == "right":
|
||||
new_status["db_location"] = 2
|
||||
|
||||
# Convert dot-notation attributes to nested structure for transmission
|
||||
nested_status = self._convert_to_nested_structure(new_status)
|
||||
|
||||
@@ -193,6 +209,16 @@ class MiedaDevice(threading.Thread):
|
||||
await cloud.send_device_control(self._device_id, control=nested_status, status=self._attributes)
|
||||
|
||||
async def set_attributes(self, attributes):
|
||||
# 针对T0xD9复式洗衣机,当切换筒选择时,立即刷新状态以显示新筒的状态
|
||||
if self._device_type == 0xD9 and "db_location_selection" in attributes:
|
||||
# 更新属性
|
||||
for attribute, value in attributes.items():
|
||||
if attribute in self._attributes.keys():
|
||||
self._attributes[attribute] = value
|
||||
# 立即刷新状态以显示新筒的状态
|
||||
await self.refresh_status()
|
||||
return
|
||||
|
||||
new_status = {}
|
||||
for attr in self._centralized:
|
||||
new_status[attr] = self._attributes.get(attr)
|
||||
@@ -202,6 +228,14 @@ class MiedaDevice(threading.Thread):
|
||||
has_new = True
|
||||
new_status[attribute] = value
|
||||
|
||||
# 针对T0xD9复式洗衣机,根据选择的筒添加db_location参数
|
||||
if self._device_type == 0xD9 and "db_location_selection" not in attributes:
|
||||
location_selection = self._attributes.get("db_location_selection", "left")
|
||||
if location_selection == "left":
|
||||
new_status["db_location"] = 1
|
||||
elif location_selection == "right":
|
||||
new_status["db_location"] = 2
|
||||
|
||||
# Convert dot-notation attributes to nested structure for transmission
|
||||
nested_status = self._convert_to_nested_structure(new_status)
|
||||
|
||||
@@ -291,6 +325,15 @@ class MiedaDevice(threading.Thread):
|
||||
|
||||
async def refresh_status(self):
|
||||
for query in self._queries:
|
||||
# 针对T0xD9复式洗衣机,根据选择的筒动态添加db_location参数
|
||||
actual_query = query.copy() if isinstance(query, dict) else query
|
||||
if self._device_type == 0xD9 and isinstance(actual_query, dict):
|
||||
location_selection = self._attributes.get("db_location_selection", "left")
|
||||
if location_selection == "left":
|
||||
actual_query["db_location"] = 1
|
||||
elif location_selection == "right":
|
||||
actual_query["db_location"] = 2
|
||||
|
||||
cloud = self._cloud
|
||||
if cloud and hasattr(cloud, "get_device_status"):
|
||||
if isinstance(cloud, MSmartHomeCloud):
|
||||
@@ -300,23 +343,23 @@ class MiedaDevice(threading.Thread):
|
||||
sn=self.sn,
|
||||
model_number=self.subtype,
|
||||
manufacturer_code=self._manufacturer_code,
|
||||
query=query
|
||||
query=actual_query
|
||||
):
|
||||
self._parse_cloud_message(status)
|
||||
else:
|
||||
if self._lua_runtime is not None:
|
||||
if query_cmd := self._lua_runtime.build_query(query):
|
||||
if query_cmd := self._lua_runtime.build_query(actual_query):
|
||||
await self._build_send(query_cmd)
|
||||
|
||||
elif isinstance(cloud, MeijuCloud):
|
||||
if status := await cloud.get_device_status(
|
||||
appliance_code=self._device_id,
|
||||
query=query
|
||||
query=actual_query
|
||||
):
|
||||
self._parse_cloud_message(status)
|
||||
else:
|
||||
if self._lua_runtime is not None:
|
||||
if query_cmd := self._lua_runtime.build_query(query):
|
||||
if query_cmd := self._lua_runtime.build_query(actual_query):
|
||||
await self._build_send(query_cmd)
|
||||
|
||||
|
||||
|
||||
44
custom_components/midea_auto_cloud/device_mapping/T0x17.py
Normal file
44
custom_components/midea_auto_cloud/device_mapping/T0x17.py
Normal file
@@ -0,0 +1,44 @@
|
||||
from homeassistant.components.switch import SwitchDeviceClass
|
||||
from homeassistant.const import Platform, UnitOfTime, UnitOfArea, UnitOfTemperature
|
||||
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
|
||||
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
|
||||
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.SELECT:{
|
||||
"updown": {
|
||||
"options": {
|
||||
"up": {"updown": "up"},
|
||||
"down": {"updown": "down"},
|
||||
"pause": {"updown": "pause"}
|
||||
},
|
||||
}
|
||||
},
|
||||
Platform.NUMBER: {
|
||||
"light_brightness": {
|
||||
"min": 20,
|
||||
"max": 100,
|
||||
"step": 1
|
||||
},
|
||||
"custom_height": {
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"step": 10,
|
||||
"translation_key": "laundry_height",
|
||||
}
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"light": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"laundry": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -109,10 +109,14 @@ DEVICE_MAPPING = {
|
||||
"aux_heat": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"follow_body_sense": {
|
||||
"options": {
|
||||
"on": {"follow_body_sense": "on", "follow_body_sense_enable": 1},
|
||||
"off": {"follow_body_sense": "off", "follow_body_sense_enable": 1},
|
||||
}
|
||||
}
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"mode": {
|
||||
@@ -215,21 +219,110 @@ DEVICE_MAPPING = {
|
||||
"aux_heat": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"manul_fresh_air": {
|
||||
"elec_dust_remove": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"auto_comfort_fresh_air": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"auto_fresh_off_co2": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"comfort_fresh_air": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"manul_humi":{
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"remove_arofene":{
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
"disinfect":{
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"remove_peculiar_smell":{
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1],
|
||||
"condition": {
|
||||
"not": ["remove_peculiar_smell", "air_exhaust"]
|
||||
}
|
||||
},
|
||||
"air_exhaust": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1],
|
||||
"condition": {
|
||||
"not": ["remove_peculiar_smell", "air_exhaust"]
|
||||
}
|
||||
},
|
||||
"down_wind_left_switch": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [1, 0],
|
||||
"condition": {
|
||||
"not": ["down_wind_left_switch", "down_wind_right_switch"]
|
||||
}
|
||||
},
|
||||
"down_wind_right_switch": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [1, 0],
|
||||
"condition": {
|
||||
"not": ["down_wind_left_switch", "down_wind_right_switch"]
|
||||
}
|
||||
}
|
||||
},
|
||||
Platform.NUMBER: {
|
||||
"manul_humi_value": {
|
||||
"device_class": SensorDeviceClass.HUMIDITY,
|
||||
"min": 40,
|
||||
"max": 70,
|
||||
"step": 1,
|
||||
"unit_of_measurement": "%",
|
||||
"mode": "slider"
|
||||
},
|
||||
"auto_purifier_on_pm": {
|
||||
"device_class": SensorDeviceClass.PM25,
|
||||
"min": 75,
|
||||
"max": 180,
|
||||
"step": 1,
|
||||
"unit_of_measurement": "µg/m³",
|
||||
"mode": "slider",
|
||||
"icon": "mdi:air-filter"
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"fresh_air_fan_speed": {
|
||||
"device_class": "enum",
|
||||
"query": "fresh_air_fan_speed",
|
||||
"value_mapping": {
|
||||
40: "低速",
|
||||
60: "中速",
|
||||
80: "高速",
|
||||
100: "全速"
|
||||
},
|
||||
"options": {
|
||||
"低速": {"fresh_air_fan_speed": 40},
|
||||
"中速": {"fresh_air_fan_speed": 60},
|
||||
"高速": {"fresh_air_fan_speed": 80},
|
||||
"全速": {"fresh_air_fan_speed": 100}
|
||||
}
|
||||
},
|
||||
"fresh_air_setting_mode": {
|
||||
"device_class": "enum",
|
||||
"query": "fresh_air_setting_mode",
|
||||
"value_mapping": {
|
||||
0: "内外循环",
|
||||
1: "外循环"
|
||||
},
|
||||
"options": {
|
||||
"内外循环": {"fresh_air_setting_mode": 0},
|
||||
"外循环": {"fresh_air_setting_mode": 1}
|
||||
},
|
||||
"condition": {
|
||||
"eq": ["comfort_fresh_air", 1]
|
||||
}
|
||||
}
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
@@ -338,10 +431,6 @@ DEVICE_MAPPING = {
|
||||
"aux_heat": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"rationale": [0, 1]
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"mode": {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
from homeassistant.components.sensor import SensorDeviceClass, SensorStateClass
|
||||
from homeassistant.const import Platform, UnitOfPower, UnitOfElectricPotential
|
||||
from homeassistant.const import Platform, UnitOfElectricPotential
|
||||
from homeassistant.components.switch import SwitchDeviceClass
|
||||
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [],
|
||||
"centralized": ["lightness"],
|
||||
"calculate": {
|
||||
"get": [
|
||||
{
|
||||
@@ -28,9 +28,6 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"error_code": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"b7_left_status": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
"translation_key": "left_status",
|
||||
@@ -46,6 +43,28 @@ DEVICE_MAPPING = {
|
||||
"translation_key": "battery_voltage",
|
||||
}
|
||||
},
|
||||
Platform.BUTTON: {
|
||||
"light_off": {
|
||||
"command": {"electronic_control_version": 2, "type": "b6", "b6_action": "setting",
|
||||
"setting": "light", "light": "off"},
|
||||
},
|
||||
"light_on": {
|
||||
"command": {"electronic_control_version": 2, "type": "b6", "b6_action": "setting",
|
||||
"setting": "light", "light": "on"},
|
||||
},
|
||||
"left_stove_off": {
|
||||
"command": {"electronic_control_version": 2, "type": "b7", "b7_work_burner_control": 1,
|
||||
"b7_function_control": 1},
|
||||
},
|
||||
"right_stove_off": {
|
||||
"command": {"electronic_control_version": 2, "type": "b7", "b7_work_burner_control": 2,
|
||||
"b7_function_control": 1},
|
||||
},
|
||||
"middle_stove_off": {
|
||||
"command": {"electronic_control_version": 2, "type": "b7", "b7_work_burner_control": 3,
|
||||
"b7_function_control": 1},
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"wind_pressure": {
|
||||
"options": {
|
||||
|
||||
57
custom_components/midea_auto_cloud/device_mapping/T0xBC.py
Normal file
57
custom_components/midea_auto_cloud/device_mapping/T0xBC.py
Normal file
@@ -0,0 +1,57 @@
|
||||
from homeassistant.const import Platform, UnitOfTime, UnitOfArea, CONCENTRATION_PARTS_PER_MILLION, \
|
||||
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, UnitOfTemperature, UnitOfElectricPotential
|
||||
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
|
||||
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
|
||||
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"calculate": {
|
||||
"get": [
|
||||
{
|
||||
"lvalue": "[indoor_temperature]",
|
||||
"rvalue": "float([temperature]) / 10"
|
||||
},
|
||||
],
|
||||
},
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.SENSOR: {
|
||||
"indoor_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"humidity": {
|
||||
"device_class": SensorDeviceClass.HUMIDITY,
|
||||
"unit_of_measurement": "%",
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"co2_value": {
|
||||
"device_class": SensorDeviceClass.CO2,
|
||||
"unit_of_measurement": CONCENTRATION_PARTS_PER_MILLION,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"attribute": "co2"
|
||||
},
|
||||
"pm10_value": {
|
||||
"device_class": SensorDeviceClass.PM10,
|
||||
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"attribute": "pm10"
|
||||
},
|
||||
"pm25_value": {
|
||||
"device_class": SensorDeviceClass.PM25,
|
||||
"unit_of_measurement": CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"attribute": "pm25"
|
||||
},
|
||||
"voltage": {
|
||||
"device_class": SensorDeviceClass.VOLTAGE,
|
||||
"unit_of_measurement": UnitOfElectricPotential.VOLT,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
289
custom_components/midea_auto_cloud/device_mapping/T0xC1.py
Normal file
289
custom_components/midea_auto_cloud/device_mapping/T0xC1.py
Normal file
@@ -0,0 +1,289 @@
|
||||
from homeassistant.const import Platform, UnitOfTemperature, UnitOfTime, UnitOfPower, UnitOfVolumeFlowRate
|
||||
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
|
||||
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
|
||||
from homeassistant.components.switch import SwitchDeviceClass
|
||||
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [],
|
||||
"calculate": {
|
||||
"get": [
|
||||
{
|
||||
"lvalue": "[rated_power]",
|
||||
"rvalue": "[rate_high] * 256 + [rate_lower]"
|
||||
},
|
||||
{
|
||||
"lvalue": "[current_power]",
|
||||
"rvalue": "[cur_rate_high] * 256 + [cur_rate_lower]"
|
||||
}
|
||||
],
|
||||
"set": []
|
||||
},
|
||||
"entities": {
|
||||
Platform.WATER_HEATER: {
|
||||
"water_heater": {
|
||||
"power": "power",
|
||||
"operation_list": {
|
||||
"off": {"power": "off"},
|
||||
"heat": {"power": "on"},
|
||||
},
|
||||
"target_temperature": "bash_target_temperature",
|
||||
"current_temperature": "bash_temperature",
|
||||
"min_temp": 30,
|
||||
"max_temp": 75,
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
}
|
||||
},
|
||||
Platform.CLIMATE: {
|
||||
"heating": {
|
||||
"power": "power",
|
||||
"hvac_modes": {
|
||||
"off": {"power": "off"},
|
||||
"heat": {"power": "on", "heating_mode": 1},
|
||||
},
|
||||
"target_temperature": "heating_target_temperature",
|
||||
"current_temperature": "heating_temperature",
|
||||
"min_temp": 30,
|
||||
"max_temp": 75,
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
}
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"buzzer": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"pump": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"wait_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"hot_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"warm_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"cold_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"sleep_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"appoint_power": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"hot_style": {
|
||||
"options": {
|
||||
"1": {"hot_style": 1},
|
||||
"2": {"hot_style": 2},
|
||||
}
|
||||
},
|
||||
"bash_mode": {
|
||||
"options": {
|
||||
"0": {"bash_mode": 0},
|
||||
"1": {"bash_mode": 1},
|
||||
"2": {"bash_mode": 2},
|
||||
"3": {"bash_mode": 3},
|
||||
}
|
||||
},
|
||||
"heating_mode": {
|
||||
"options": {
|
||||
"0": {"heating_mode": 0},
|
||||
"1": {"heating_mode": 1},
|
||||
"2": {"heating_mode": 2},
|
||||
"3": {"heating_mode": 3},
|
||||
}
|
||||
},
|
||||
"three_way_mode": {
|
||||
"options": {
|
||||
"heating": {"three_way_mode": "heating"},
|
||||
"bath": {"three_way_mode": "bath"},
|
||||
}
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"options": {
|
||||
"floor_heating": {"heating_unit_type": "floor_heating"},
|
||||
"radiator": {"heating_unit_type": "radiator"},
|
||||
}
|
||||
},
|
||||
},
|
||||
Platform.NUMBER: {
|
||||
"bash_target_temperature": {
|
||||
"min": 30,
|
||||
"max": 75,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"bash_gap_temperature": {
|
||||
"min": 0,
|
||||
"max": 10,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"min": 30,
|
||||
"max": 75,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"min": 0,
|
||||
"max": 10,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"last_time": {
|
||||
"min": 0,
|
||||
"max": 255,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTime.HOURS,
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"min": 30,
|
||||
"max": 75,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"min": 30,
|
||||
"max": 75,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"min": 30,
|
||||
"max": 75,
|
||||
"step": 1,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
},
|
||||
"light_gear": {
|
||||
"min": 0,
|
||||
"max": 7,
|
||||
"step": 1,
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"in_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"out_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"bash_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"bash_target_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"heating_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"rated_power": {
|
||||
"device_class": SensorDeviceClass.POWER,
|
||||
"unit_of_measurement": UnitOfPower.WATT,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"current_power": {
|
||||
"device_class": SensorDeviceClass.POWER,
|
||||
"unit_of_measurement": UnitOfPower.WATT,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"flow_volume": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
"unit_of_measurement": UnitOfVolumeFlowRate.LITERS_PER_MINUTE,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"last_time": {
|
||||
"device_class": SensorDeviceClass.DURATION,
|
||||
"unit_of_measurement": UnitOfTime.HOURS,
|
||||
"state_class": SensorStateClass.MEASUREMENT
|
||||
},
|
||||
"bash_mode": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"heating_mode": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"hot_style": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"bash_function": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"three_way_mode": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
"light_gear": {
|
||||
"device_class": SensorDeviceClass.ENUM
|
||||
},
|
||||
},
|
||||
Platform.BINARY_SENSOR: {
|
||||
"wait_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
"hot_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
"warm_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
"cold_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
"sleep_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
"appoint_power": {
|
||||
"device_class": BinarySensorDeviceClass.RUNNING
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ from homeassistant.components.switch import SwitchDeviceClass
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"queries": [{}, {""}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.CLIMATE: {
|
||||
@@ -18,7 +18,7 @@ DEVICE_MAPPING = {
|
||||
"heat": {"zone1_power_state": "on"},
|
||||
},
|
||||
"target_temperature": "room_temp_set",
|
||||
"current_temperature": "T4",
|
||||
"current_temperature": "t4",
|
||||
"min_temp": "room_min_set_temp",
|
||||
"max_temp": "room_max_set_temp",
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
@@ -32,7 +32,7 @@ DEVICE_MAPPING = {
|
||||
"heat": {"dhw_power_state": "on"},
|
||||
},
|
||||
"target_temperature": "dhw_temp_set",
|
||||
"current_temperature": "T4",
|
||||
"current_temperature": "t4",
|
||||
"min_temp": "dhw_min_set_temp",
|
||||
"max_temp": "dhw_max_set_temp",
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
@@ -73,5 +73,69 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"171H120F": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}, {""}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.CLIMATE: {
|
||||
"Zone1": {
|
||||
"translation_key": "zone1",
|
||||
"power": "zone1_power_state",
|
||||
"hvac_modes": {
|
||||
"off": {"zone1_power_state": "off"},
|
||||
"heat": {"zone1_power_state": "on"},
|
||||
},
|
||||
"target_temperature": "zone1_temp_set",
|
||||
"min_temp": "zone1_heat_min_set_temp",
|
||||
"max_temp": "zone1_heat_max_set_temp",
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
"precision": PRECISION_HALVES,
|
||||
},
|
||||
"DHW": {
|
||||
"translation_key": "dhw",
|
||||
"power": "dhw_power_state",
|
||||
"hvac_modes": {
|
||||
"off": {"dhw_power_state": "off"},
|
||||
"heat": {"dhw_power_state": "on"},
|
||||
},
|
||||
"target_temperature": "dhw_temp_set",
|
||||
"current_temperature": "tank_actual_temp",
|
||||
"min_temp": "dhw_min_set_temp",
|
||||
"max_temp": "dhw_max_set_temp",
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
"precision": PRECISION_HALVES,
|
||||
}
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"fastdhw_state": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"translation_key": "fastdhw_state",
|
||||
},
|
||||
"forcetbh_state": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"translation_key": "forcetbh_state",
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"run_mode_set": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
"translation_key": "mode",
|
||||
},
|
||||
"room_temp_set": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"translation_key": "room_temperature",
|
||||
},
|
||||
"tank_actual_temp":{
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"translation_key": "cur_temperature",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,5 +215,102 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"000K86JB": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}, {"query_type": "run_status"}],
|
||||
"centralized": [],
|
||||
"entities": {
|
||||
Platform.CLIMATE: {
|
||||
"thermostat": {
|
||||
"power": "power",
|
||||
"hvac_modes": {
|
||||
"off": {"power": "off"},
|
||||
"heat": {"power": "on", "mode": "heat"},
|
||||
"cool": {"power": "on", "mode": "cool"},
|
||||
"dry": {"power": "on", "mode": "dry"},
|
||||
"fan_only": {"power": "on", "mode": "fan"}
|
||||
},
|
||||
"fan_modes": {
|
||||
"power": {"wind_speed": "power"},
|
||||
"super_high": {"wind_speed": "super_high"},
|
||||
"high": {"wind_speed": "high"},
|
||||
"middle": {"wind_speed": "middle"},
|
||||
"low": {"wind_speed": "low"},
|
||||
"micron": {"wind_speed": "micron"},
|
||||
"sleep": {"wind_speed": "sleep"},
|
||||
"auto": {"wind_speed": "auto"}
|
||||
},
|
||||
"target_temperature": "temperature",
|
||||
"current_temperature": "indoor_temperature",
|
||||
"pre_mode": "mode",
|
||||
"min_temp": 17,
|
||||
"max_temp": 30,
|
||||
"temperature_unit": UnitOfTemperature.CELSIUS,
|
||||
"precision": PRECISION_HALVES,
|
||||
}
|
||||
},
|
||||
Platform.SWITCH: {
|
||||
"eco": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
},
|
||||
"lock": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"attribute": "wirectrl_child_lock",
|
||||
"rationale": ["wirectrl_child_unlocked", "wirectrl_child_locked"]
|
||||
},
|
||||
"light": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"attribute": "digit_display_switch"
|
||||
},
|
||||
"sleep": {
|
||||
"device_class": SwitchDeviceClass.SWITCH,
|
||||
"attribute": "sleep_switch"
|
||||
},
|
||||
},
|
||||
Platform.SENSOR: {
|
||||
"mode": {
|
||||
"device_class": SensorDeviceClass.ENUM,
|
||||
},
|
||||
"room_temperature": {
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit_of_measurement": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"attribute": "indoor_temperature"
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"ptc": {
|
||||
"options": {
|
||||
"on": {"ptc_setting": "ptc_setting_on", "eco":"off"},
|
||||
"off": {"ptc_setting": "ptc_setting_off"},
|
||||
},
|
||||
},
|
||||
"ud_swing_angle": {
|
||||
"options": {
|
||||
"swing_ud_no_site": {"wind_swing_ud_site": "swing_ud_no_site"},
|
||||
"swing_ud_site_1": {"wind_swing_ud_site": "swing_ud_site_1"},
|
||||
"swing_ud_site_2": {"wind_swing_ud_site": "swing_ud_site_2"},
|
||||
"swing_ud_site_3": {"wind_swing_ud_site": "swing_ud_site_3"},
|
||||
"swing_ud_site_4": {"wind_swing_ud_site": "swing_ud_site_4"},
|
||||
"swing_ud_site_5": {"wind_swing_ud_site": "swing_ud_site_5"},
|
||||
"swing_ud_site_6": {"wind_swing_ud_site": "swing_ud_site_6"},
|
||||
},
|
||||
"attribute": "wind_swing_ud_site"
|
||||
},
|
||||
"lr_swing_angle": {
|
||||
"options": {
|
||||
"swing_lr_no_site": {"wind_swing_lr_site": "swing_lr_no_site"},
|
||||
"swing_lr_site_1": {"wind_swing_lr_site": "swing_lr_site_1"},
|
||||
"swing_lr_site_2": {"wind_swing_lr_site": "swing_lr_site_2"},
|
||||
"swing_lr_site_3": {"wind_swing_lr_site": "swing_lr_site_3"},
|
||||
"swing_lr_site_4": {"wind_swing_lr_site": "swing_lr_site_4"},
|
||||
"swing_lr_site_5": {"wind_swing_lr_site": "swing_lr_site_5"},
|
||||
"swing_lr_site_6": {"wind_swing_lr_site": "swing_lr_site_6"},
|
||||
},
|
||||
"attribute": "wind_swing_lr_site"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ from homeassistant.components.switch import SwitchDeviceClass
|
||||
DEVICE_MAPPING = {
|
||||
"default": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"queries": [{"query_type": "db"}],
|
||||
"calculate": {
|
||||
"get": [
|
||||
{
|
||||
@@ -50,6 +50,12 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
"db_location_selection": {
|
||||
"options": {
|
||||
"left": {"db_location_selection": "left"},
|
||||
"right": {"db_location_selection": "right"}
|
||||
}
|
||||
},
|
||||
"db_running_status": {
|
||||
"options": {
|
||||
"off": {"db_power": "off", "db_running_status": "off"},
|
||||
|
||||
@@ -125,7 +125,7 @@ DEVICE_MAPPING = {
|
||||
}
|
||||
}
|
||||
},
|
||||
"xxxxxx": {
|
||||
"56011CEN": {
|
||||
"rationale": ["off", "on"],
|
||||
"queries": [{}],
|
||||
"centralized": [
|
||||
|
||||
@@ -52,7 +52,12 @@ DEVICE_MAPPING = {
|
||||
"manual": {"humidity_mode": "manual"},
|
||||
"moist_skin": {"humidity_mode": "moist_skin"},
|
||||
"sleep": {"humidity_mode": "sleep"}
|
||||
}
|
||||
},
|
||||
# "external_humidity_sensor_map": {
|
||||
# # "202Z3XXX": "sensor.temperature_humidity_sensor_6510_humidity",
|
||||
# # "设备2-sn8": "sensor.master_bedroom_humidity",
|
||||
# # "设备3-sn8": "sensor.studyroom_humidity"
|
||||
# }
|
||||
}
|
||||
},
|
||||
Platform.SELECT: {
|
||||
|
||||
@@ -8,6 +8,7 @@ from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DOMAIN
|
||||
from .core.logger import MideaLogger
|
||||
from .midea_entity import MideaEntity
|
||||
from . import load_device_config
|
||||
|
||||
@@ -63,6 +64,13 @@ class MideaHumidifierEntity(MideaEntity, HumidifierEntity):
|
||||
)
|
||||
self._attr_supported_features = HumidifierEntityFeature.MODES
|
||||
self._attr_available_modes = list(self._config.get("modes").keys())
|
||||
|
||||
# 新增:外部湿度传感器支持
|
||||
# 设备当前使用加湿器内置湿度传感器。如需外接更高精度传感器,可在midea_auto_cloud/device_mapping设备对应文件中编辑 'external_humidity_sensor_map' 部分进行配置
|
||||
external_map = self._config.get("external_humidity_sensor_map", {})
|
||||
self._has_external_sensor = self._sn8 in external_map
|
||||
if self._has_external_sensor:
|
||||
self._external_sensor_id = external_map[self._sn8]
|
||||
|
||||
@property
|
||||
def device_class(self):
|
||||
@@ -91,6 +99,21 @@ class MideaHumidifierEntity(MideaEntity, HumidifierEntity):
|
||||
@property
|
||||
def current_humidity(self):
|
||||
"""Return the current humidity."""
|
||||
# 支持外部湿度传感器 jesusya
|
||||
if self._has_external_sensor:
|
||||
state = self.hass.states.get(self._external_sensor_id)
|
||||
if state and state.state not in (None, "unknown", "unavailable"):
|
||||
try:
|
||||
new_humidity = round(float(state.state))
|
||||
self._current_humidity = new_humidity
|
||||
MideaLogger.debug(f"{self.entity_id} using external sensor humidity from {self._external_sensor_id}: {self._current_humidity}")
|
||||
return self._current_humidity
|
||||
except (ValueError, TypeError, AttributeError) as e:
|
||||
MideaLogger.warning(f"{self.entity_id} failed to parse external sensor state from {self._external_sensor_id}: {e}")
|
||||
else:
|
||||
MideaLogger.warning(f"{self.entity_id} external sensor {self._external_sensor_id} unavailable")
|
||||
|
||||
# 回退到内部传感器或直接使用内部传感器
|
||||
current_humidity_key = self._config.get("current_humidity")
|
||||
if current_humidity_key:
|
||||
return self.device_attributes.get(current_humidity_key, 0)
|
||||
@@ -131,7 +154,7 @@ class MideaHumidifierEntity(MideaEntity, HumidifierEntity):
|
||||
power_key = self._config.get("power")
|
||||
if power_key:
|
||||
await self._device.set_attribute(power_key, self._rationale[int(False)])
|
||||
await self._device.set_attribute(power_key, self._rationale[int(False)])
|
||||
await self._device.set_attribute(power_key, self._rationale[int(False)]) #避免美的加湿器,挂机启动风干湿帘,噪音过大
|
||||
|
||||
async def async_set_humidity(self, humidity: int):
|
||||
"""Set the target humidity."""
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
"iot_class": "cloud_push",
|
||||
"issue_tracker": "https://github.com/sususweet/midea-meiju-codec/issues",
|
||||
"requirements": ["lupa>=2.0"],
|
||||
"version": "v0.1.26"
|
||||
}
|
||||
"version": "v0.2.1"
|
||||
}
|
||||
|
||||
@@ -181,8 +181,15 @@ class MideaEntity(CoordinatorEntity[MideaDataUpdateCoordinator], Entity):
|
||||
try:
|
||||
result = bool(self._rationale.index(status))
|
||||
except ValueError:
|
||||
MideaLogger.error(f"The value of attribute {attribute_key} ('{status}') "
|
||||
f"is not in rationale {self._rationale}")
|
||||
if isinstance(status, int) or status in ['0', '1']:
|
||||
if int(status) == 0:
|
||||
result = False
|
||||
else:
|
||||
result = True
|
||||
else:
|
||||
MideaLogger.warning(f"The value of attribute {attribute_key} ('{status}') "
|
||||
f"is not in rationale {self._rationale}")
|
||||
return result
|
||||
return result
|
||||
|
||||
def _set_nested_value(self, attribute_key: str, value: Any) -> None:
|
||||
|
||||
@@ -56,6 +56,13 @@ class MideaSelectEntity(MideaEntity, SelectEntity):
|
||||
|
||||
@property
|
||||
def options(self):
|
||||
"""Return a list of available options.
|
||||
|
||||
Note: To translate options, add translations in the translation file under:
|
||||
entity.select.{translation_key}.state.{option_key}
|
||||
|
||||
Home Assistant will automatically use these translations when displaying options.
|
||||
"""
|
||||
return list(self._key_options.keys())
|
||||
|
||||
@property
|
||||
|
||||
@@ -122,12 +122,29 @@
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"button": {
|
||||
"light_off": {
|
||||
"name": "Light off"
|
||||
},
|
||||
"light_on": {
|
||||
"name": "Light on"
|
||||
},
|
||||
"left_stove_off": {
|
||||
"name": "Left stove off"
|
||||
},
|
||||
"right_stove_off": {
|
||||
"name": "Right stove off"
|
||||
},
|
||||
"middle_stove_off": {
|
||||
"name": "Middle stove off"
|
||||
}
|
||||
},
|
||||
"binary_sensor": {
|
||||
"heating_work": {
|
||||
"name": "Heating Work"
|
||||
"name": "Heating Work Status"
|
||||
},
|
||||
"bathing_work": {
|
||||
"name": "Bathing Work"
|
||||
"name": "Bathing Work Status"
|
||||
},
|
||||
"doorswitch": {
|
||||
"name": "Door Switch"
|
||||
@@ -336,7 +353,7 @@
|
||||
}
|
||||
},
|
||||
"zone1": {
|
||||
"name": "区域1"
|
||||
"name": "zone 1"
|
||||
},
|
||||
"dhw": {
|
||||
"name": "DHW"
|
||||
@@ -346,10 +363,30 @@
|
||||
"state_attributes": {
|
||||
"fan_mode": {
|
||||
"state": {
|
||||
"silent": "Silent",
|
||||
"full": "Full"
|
||||
"silent": "silent",
|
||||
"low": "low",
|
||||
"medium": "medium",
|
||||
"high": "high",
|
||||
"full": "full",
|
||||
"auto": "auto"
|
||||
}
|
||||
},
|
||||
"preset_modes": {
|
||||
"state": {
|
||||
"none": "none",
|
||||
"eco": "eco",
|
||||
"comfort": "comfort",
|
||||
"boost": "boost"
|
||||
}
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"off": "off",
|
||||
"heat": "heat",
|
||||
"cool": "cool",
|
||||
"auto": "auto",
|
||||
"dry": "dry",
|
||||
"fan_only": "fan only"
|
||||
}
|
||||
},
|
||||
"water_heater": {
|
||||
@@ -357,6 +394,9 @@
|
||||
},
|
||||
"electric_heater": {
|
||||
"name": "Electric Heater"
|
||||
},
|
||||
"heating": {
|
||||
"name": "Heating"
|
||||
}
|
||||
},
|
||||
"humidifier": {
|
||||
@@ -368,6 +408,18 @@
|
||||
}
|
||||
},
|
||||
"select": {
|
||||
"updown": {
|
||||
"name": "Up/Down"
|
||||
},
|
||||
"ud_swing_angle": {
|
||||
"name": "UD Swing Angle"
|
||||
},
|
||||
"lr_swing_angle": {
|
||||
"name": "LR Swing Angle"
|
||||
},
|
||||
"follow_body_sense": {
|
||||
"name": "Follow Body Sense"
|
||||
},
|
||||
"bright": {
|
||||
"name": "Brightness"
|
||||
},
|
||||
@@ -422,8 +474,12 @@
|
||||
"db_detergent": {
|
||||
"name": "DB Detergent"
|
||||
},
|
||||
"db_location": {
|
||||
"name": "DB Location"
|
||||
"db_location_selection": {
|
||||
"name": "Bucket Selection",
|
||||
"state": {
|
||||
"left": "Left Bucket",
|
||||
"right": "Right Bucket"
|
||||
}
|
||||
},
|
||||
"db_position": {
|
||||
"name": "DB Position"
|
||||
@@ -441,7 +497,13 @@
|
||||
"name": "DB Temperature"
|
||||
},
|
||||
"water_level": {
|
||||
"name": "Water Level"
|
||||
"name": "Water Level",
|
||||
"state": {
|
||||
"low": "low",
|
||||
"medium": "medium",
|
||||
"high": "high",
|
||||
"auto": "auto"
|
||||
}
|
||||
},
|
||||
"db_water_level": {
|
||||
"name": "DB Water Level"
|
||||
@@ -480,7 +542,12 @@
|
||||
"name": "Gesture Function Type"
|
||||
},
|
||||
"humidity_mode": {
|
||||
"name": "Humidity Mode"
|
||||
"name": "Humidity Mode",
|
||||
"state": {
|
||||
"manual": "manual",
|
||||
"moist_skin": "moist skin",
|
||||
"sleep": "sleep"
|
||||
}
|
||||
},
|
||||
"icea_bar_function_switch": {
|
||||
"name": "Icea Bar Function Switch"
|
||||
@@ -501,7 +568,13 @@
|
||||
"name": "Middle Stair Work Status"
|
||||
},
|
||||
"mode": {
|
||||
"name": "Mode"
|
||||
"name": "Mode",
|
||||
"state": {
|
||||
"normal": "normal",
|
||||
"factory_test": "factory test",
|
||||
"service": "service",
|
||||
"normal_continus": "normal continus"
|
||||
}
|
||||
},
|
||||
"mode_state": {
|
||||
"name": "Mode State"
|
||||
@@ -516,7 +589,100 @@
|
||||
"name": "Prevent Wrinkle"
|
||||
},
|
||||
"program": {
|
||||
"name": "Program"
|
||||
"name": "Program",
|
||||
"state": {
|
||||
"cotton": "cotton",
|
||||
"eco": "eco",
|
||||
"fast_wash": "fast wash 15min",
|
||||
"mixed_wash": "mixed wash",
|
||||
"wool": "wool",
|
||||
"ssp": "self-cleaning mode",
|
||||
"sport_clothes": "sport clothes",
|
||||
"single_dehytration": "single dehytration",
|
||||
"rinsing_dehydration": "rinsing and dehydration",
|
||||
"big": "big clothes",
|
||||
"baby_clothes": "baby clothes",
|
||||
"down_jacket": "down jacket",
|
||||
"color": "color clothes",
|
||||
"intelligent": "intelligent",
|
||||
"quick_wash": "quick wash",
|
||||
"shirt": "shirt",
|
||||
"fiber": "fiber",
|
||||
"enzyme": "enzyme",
|
||||
"underwear": "underwear",
|
||||
"outdoor": "outdoor",
|
||||
"air_wash": "air wash",
|
||||
"single_drying": "single drying",
|
||||
"steep": "steep",
|
||||
"kids": "kids",
|
||||
"water_cotton": "water cotton",
|
||||
"fast_wash_30": "fast wash 30min",
|
||||
"fast_wash_60": "fast wash 60min",
|
||||
"water_mixed_wash": "water mixed wash",
|
||||
"water_fiber": "water fiber",
|
||||
"water_kids": "water kids",
|
||||
"water_underwear": "water underwear",
|
||||
"specialist": "specialist wash",
|
||||
"love": "love wash",
|
||||
"water_intelligent": "water intelligent",
|
||||
"water_steep": "water steep",
|
||||
"water_fast_wash_30": "water fast wash 30min",
|
||||
"new_water_cotton": "new water cotton",
|
||||
"water_eco": "water eco",
|
||||
"wash_drying_60": "wash drying 60min",
|
||||
"self_wash_5": "self wash 5min",
|
||||
"fast_wash_min": "fast wash(min)",
|
||||
"mixed_wash_min": "mixed wash(min)",
|
||||
"dehydration_min": "dehydration(min)",
|
||||
"self_wash_min": "self wash(min)",
|
||||
"baby_clothes_min": "baby clothes(min)",
|
||||
"diy0": "diy0",
|
||||
"diy1": "diy1",
|
||||
"diy2": "diy2",
|
||||
"silk_wash": "silk wash",
|
||||
"prevent_allergy": "prevent allergy",
|
||||
"cold_wash": "cold wash",
|
||||
"soft_wash": "soft wash",
|
||||
"remove_mite_wash": "remove mite wash",
|
||||
"water_intense_wash": "water intense wash",
|
||||
"fast_dry": "fast dry",
|
||||
"water_outdoor": "water outdoor",
|
||||
"spring_autumn_wash": "spring autumn wash",
|
||||
"summer_wash": "summer wash",
|
||||
"winter_wash": "winter wash",
|
||||
"jean": "jean",
|
||||
"new_clothes_wash": "new clothes wash",
|
||||
"silk": "silk",
|
||||
"insight_wash": "insight wash",
|
||||
"fitness_clothes": "fitness clothes",
|
||||
"mink": "mink",
|
||||
"fresh_air": "fresh air",
|
||||
"bucket_dry": "bucket dry",
|
||||
"jacket": "jacket",
|
||||
"bath_towel": "bath towel",
|
||||
"night_fresh_wash": "night fresh wash",
|
||||
"heart_wash": "heart wash",
|
||||
"water_cold_wash": "water cold wash",
|
||||
"water_prevent_allergy": "water prevent allergy",
|
||||
"water_remove_mite_wash": "water remove mite wash",
|
||||
"water_ssp": "water self-cleaning mode",
|
||||
"standard": "standard",
|
||||
"green_wool": "green wool",
|
||||
"cook_wash": "cook wash",
|
||||
"fresh_remove_wrinkle": "fresh remove wrinkle",
|
||||
"steam_sterilize_wash": "steam sterilize wash",
|
||||
"aromatherapy": "aromatherapy",
|
||||
"sterilize_wash": "sterilize wash",
|
||||
"white_clothes_clean": "white clothes clean",
|
||||
"clean_stains": "clean stains",
|
||||
"tube_clean_all": "tube clean all",
|
||||
"no_channeling_color": "no channeling color",
|
||||
"scald_wash": "scald wash",
|
||||
"hanfu_spring_summer": "hanfu spring summer",
|
||||
"hanfu_autumn_winter": "hanfu autumn winter",
|
||||
"skin_care_wash": "skin care wash",
|
||||
"hanfu_wash": "hanfu wash"
|
||||
}
|
||||
},
|
||||
"query_type": {
|
||||
"name": "Query Type"
|
||||
@@ -567,14 +733,66 @@
|
||||
"name": "Water Level"
|
||||
},
|
||||
"wind_gear": {
|
||||
"name": "Wind Gear"
|
||||
"name": "Wind Gear",
|
||||
"state": {
|
||||
"low": "low",
|
||||
"medium": "medium",
|
||||
"high": "high",
|
||||
"auto": "auto",
|
||||
"invalid": "invalid"
|
||||
}
|
||||
},
|
||||
"wind_speed": {
|
||||
"name": "Wind Speed"
|
||||
"name": "Wind Speed",
|
||||
"state": {
|
||||
"low": "low",
|
||||
"medium": "medium",
|
||||
"high": "high",
|
||||
"auto": "auto",
|
||||
"invalid": "invalid"
|
||||
}
|
||||
},
|
||||
"work_mode": {
|
||||
"name": "Work Mode"
|
||||
},
|
||||
"wash_mode": {
|
||||
"name": "wash mode",
|
||||
"state": {
|
||||
"neutral_gear": "neutral gear",
|
||||
"auto_wash": "auto wash",
|
||||
"strong_wash": "strong wash",
|
||||
"standard_wash": "standard wash",
|
||||
"eco_wash": "eco wash",
|
||||
"glass_wash": "glass wash",
|
||||
"hour_wash": "hour wash",
|
||||
"fast_wash": "fast wash",
|
||||
"soak_wash": "soak wash",
|
||||
"90min_wash": "90min wash",
|
||||
"self_clean": "self clean",
|
||||
"fruit_wash": "fruit wash",
|
||||
"self_define": "self define",
|
||||
"germ": "germ",
|
||||
"bowl_wash": "bowl wash",
|
||||
"kill_germ": "kill germ",
|
||||
"seafood_wash": "seafood wash",
|
||||
"hotpot_wash": "hotpot wash",
|
||||
"quietnight_wash": "quietnight wash",
|
||||
"less_wash": "less wash",
|
||||
"oilnet_wash": "oilnet wash",
|
||||
"max_rapid_wash": "max rapid wash",
|
||||
"hot_bowl_wash": "hot bowl wash",
|
||||
"cloud_wash": "cloud wash",
|
||||
"baby_wash": "baby wash",
|
||||
"single_dry": "single dry",
|
||||
"single_disinfect": "single disinfect",
|
||||
"wahin_wash_dry": "wahin wash dry",
|
||||
"high_temp_wash": "high temp wash",
|
||||
"wash_dry": "wash dry",
|
||||
"auto_dry": "auto dry",
|
||||
"fire_disinfect": "fire disinfect",
|
||||
"toy_wash": "toy wash"
|
||||
}
|
||||
},
|
||||
"func_select": {
|
||||
"name": "Func Select"
|
||||
},
|
||||
@@ -585,10 +803,14 @@
|
||||
"name": "Type Select"
|
||||
},
|
||||
"work_status": {
|
||||
"name": "Work Status"
|
||||
},
|
||||
"wash_mode": {
|
||||
"name": "Wash Mode"
|
||||
"name": "Work Status",
|
||||
"state": {
|
||||
"power_off": "power off",
|
||||
"power_on": "power on",
|
||||
"cancel": "cancel",
|
||||
"pause": "pause",
|
||||
"resume": "resume"
|
||||
}
|
||||
},
|
||||
"voice": {
|
||||
"name": "Voice"
|
||||
@@ -655,6 +877,21 @@
|
||||
},
|
||||
"wind_pressure": {
|
||||
"name": "Wind Pressure"
|
||||
},
|
||||
"hot_style": {
|
||||
"name": "Heating Style"
|
||||
},
|
||||
"bash_mode": {
|
||||
"name": "Bath Mode"
|
||||
},
|
||||
"heating_mode": {
|
||||
"name": "Heating Mode"
|
||||
},
|
||||
"three_way_mode": {
|
||||
"name": "Three Way Valve Mode"
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"name": "Heating Unit Type"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
@@ -1282,6 +1519,63 @@
|
||||
"in_temperature": {
|
||||
"name": "In Temperature"
|
||||
},
|
||||
"out_temperature": {
|
||||
"name": "Out Temperature"
|
||||
},
|
||||
"bash_temperature": {
|
||||
"name": "Bath Temperature"
|
||||
},
|
||||
"bash_target_temperature": {
|
||||
"name": "Bath Target Temperature"
|
||||
},
|
||||
"heating_temperature": {
|
||||
"name": "Heating Temperature"
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"name": "Heating Target Temperature"
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"name": "Heating Gap Temperature"
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"name": "User Mode Target Temperature"
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"name": "Activity Mode Target Temperature"
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"name": "Sleep Mode Target Temperature"
|
||||
},
|
||||
"rated_power": {
|
||||
"name": "Rated Power"
|
||||
},
|
||||
"current_power": {
|
||||
"name": "Current Power"
|
||||
},
|
||||
"flow_volume": {
|
||||
"name": "Flow Volume"
|
||||
},
|
||||
"bash_mode": {
|
||||
"name": "Bath Mode"
|
||||
},
|
||||
"heating_mode": {
|
||||
"name": "Heating Mode"
|
||||
},
|
||||
"hot_style": {
|
||||
"name": "Heating Style"
|
||||
},
|
||||
"bash_function": {
|
||||
"name": "Bath Function"
|
||||
},
|
||||
"three_way_mode": {
|
||||
"name": "Three Way Valve Mode"
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"name": "Heating Unit Type"
|
||||
},
|
||||
"light_gear": {
|
||||
"name": "Screen Brightness"
|
||||
},
|
||||
"mg_remain": {
|
||||
"name": "Mg Remain"
|
||||
},
|
||||
@@ -1423,6 +1717,9 @@
|
||||
"ud_swing_angle": {
|
||||
"name": "UD Swing Angle"
|
||||
},
|
||||
"lr_swing_angle": {
|
||||
"name": "LR Swing Angle"
|
||||
},
|
||||
"lr_diy_down_percent": {
|
||||
"name": "LR DIY Down Percent"
|
||||
},
|
||||
@@ -1613,6 +1910,39 @@
|
||||
}
|
||||
},
|
||||
"number": {
|
||||
"light_brightness": {
|
||||
"name": "Light Brightness"
|
||||
},
|
||||
"bash_target_temperature": {
|
||||
"name": "Bath Target Temperature"
|
||||
},
|
||||
"bash_gap_temperature": {
|
||||
"name": "Bath Gap Temperature"
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"name": "Heating Target Temperature"
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"name": "Heating Gap Temperature"
|
||||
},
|
||||
"last_time": {
|
||||
"name": "Continuous Heating Time"
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"name": "User Mode Target Temperature"
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"name": "Activity Mode Target Temperature"
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"name": "Sleep Mode Target Temperature"
|
||||
},
|
||||
"light_gear": {
|
||||
"name": "Screen Brightness"
|
||||
},
|
||||
"laundry_height": {
|
||||
"name": "Laundry Height"
|
||||
},
|
||||
"water_quality": {
|
||||
"name": "Water Quality"
|
||||
},
|
||||
@@ -1668,15 +1998,15 @@
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"laundry": {
|
||||
"name": "One Key Laundry"
|
||||
},
|
||||
"winter_mode": {
|
||||
"name": "Winter Mode"
|
||||
},
|
||||
"summer_mode": {
|
||||
"name": "Summer Mode"
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"name": "Follow Body Sense"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "Disinfection"
|
||||
},
|
||||
@@ -1917,6 +2247,18 @@
|
||||
"buzzer": {
|
||||
"name": "Buzzer"
|
||||
},
|
||||
"pump": {
|
||||
"name": "Pump"
|
||||
},
|
||||
"wait_power": {
|
||||
"name": "Standby"
|
||||
},
|
||||
"cold_power": {
|
||||
"name": "Antifreeze"
|
||||
},
|
||||
"sleep_power": {
|
||||
"name": "Sleep"
|
||||
},
|
||||
"change_litre_switch": {
|
||||
"name": "Change Litre Switch"
|
||||
},
|
||||
@@ -2568,6 +2910,9 @@
|
||||
"endpoint_8_onoff": {
|
||||
"name": "Button 8"
|
||||
},
|
||||
"wisdom_wind": {
|
||||
"name": "Wisdom Wind"
|
||||
},
|
||||
"work_switch": {
|
||||
"name": "Work Switch"
|
||||
},
|
||||
@@ -2582,6 +2927,39 @@
|
||||
},
|
||||
"forcetbh_state": {
|
||||
"name": "Force Standby"
|
||||
},
|
||||
"manul_humi": {
|
||||
"name": "humidification"
|
||||
},
|
||||
"manul_humi_value": {
|
||||
"name": "Set humidity"
|
||||
},
|
||||
"down_wind_left_switch": {
|
||||
"name": "Down Wind Left Switch"
|
||||
},
|
||||
"down_wind_right_switch": {
|
||||
"name": "Down Wind Right Switch"
|
||||
},
|
||||
"disinfect": {
|
||||
"name": "Disinfect"
|
||||
},
|
||||
"remove_arofene": {
|
||||
"name": "Remove Arofene"
|
||||
},
|
||||
"remove_peculiar_smell": {
|
||||
"name": "Remove Peculiar Smell"
|
||||
},
|
||||
"auto_fresh_off_co2": {
|
||||
"name": "Auto Fresh Off Co2"
|
||||
},
|
||||
"comfort_fresh_air": {
|
||||
"name": "Comfort Fresh Air"
|
||||
},
|
||||
"elec_dust_remove": {
|
||||
"name": "Elec Dust Remove"
|
||||
},
|
||||
"air_exhaust": {
|
||||
"name": "Air Exhaust"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,6 +122,23 @@
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"button": {
|
||||
"light_off": {
|
||||
"name": "关闭灯光"
|
||||
},
|
||||
"light_on": {
|
||||
"name": "打开灯光"
|
||||
},
|
||||
"left_stove_off": {
|
||||
"name": "左灶关火"
|
||||
},
|
||||
"right_stove_off": {
|
||||
"name": "右灶关火"
|
||||
},
|
||||
"middle_stove_off": {
|
||||
"name": "中灶关火"
|
||||
}
|
||||
},
|
||||
"binary_sensor": {
|
||||
"heating_work": {
|
||||
"name": "采暖功能状态"
|
||||
@@ -231,7 +248,7 @@
|
||||
"softener_lack": {
|
||||
"name": "柔顺剂不足"
|
||||
},
|
||||
"detergent_lack": {
|
||||
"detergent_lack": {
|
||||
"name": "洗涤剂不足"
|
||||
},
|
||||
"door_opened": {
|
||||
@@ -347,13 +364,29 @@
|
||||
"fan_mode": {
|
||||
"state": {
|
||||
"silent": "静音",
|
||||
"full": "强劲"
|
||||
"low": "低速",
|
||||
"medium": "中速",
|
||||
"high": "高速",
|
||||
"full": "强劲",
|
||||
"auto": "自动风"
|
||||
}
|
||||
},
|
||||
"preset_modes": {
|
||||
"state": {
|
||||
"none": "无预设",
|
||||
"eco": "节能模式",
|
||||
"comfort": "舒适模式",
|
||||
"boost": "强劲模式"
|
||||
}
|
||||
}
|
||||
},
|
||||
"state": {
|
||||
"off": "关闭",
|
||||
"heat": "制热",
|
||||
"cool": "制冷",
|
||||
"auto": "温湿灵控",
|
||||
"dry": "自动抽湿"
|
||||
"dry": "自动抽湿",
|
||||
"fan_only": "仅送风"
|
||||
}
|
||||
},
|
||||
"water_heater": {
|
||||
@@ -361,6 +394,9 @@
|
||||
},
|
||||
"electric_heater": {
|
||||
"name": "取暖器"
|
||||
},
|
||||
"heating": {
|
||||
"name": "采暖"
|
||||
}
|
||||
},
|
||||
"humidifier": {
|
||||
@@ -372,6 +408,18 @@
|
||||
}
|
||||
},
|
||||
"select": {
|
||||
"updown": {
|
||||
"name": "上升/下降"
|
||||
},
|
||||
"ud_swing_angle": {
|
||||
"name": "上下摆风角度"
|
||||
},
|
||||
"lr_swing_angle": {
|
||||
"name": "左右摆风角度"
|
||||
},
|
||||
"follow_body_sense": {
|
||||
"name": "随身感"
|
||||
},
|
||||
"bright": {
|
||||
"name": "亮度"
|
||||
},
|
||||
@@ -426,17 +474,116 @@
|
||||
"db_detergent": {
|
||||
"name": "洗涤剂"
|
||||
},
|
||||
"db_location": {
|
||||
"name": "地点"
|
||||
"db_location_selection": {
|
||||
"name": "选择筒",
|
||||
"state": {
|
||||
"left": "左筒",
|
||||
"right": "右筒"
|
||||
}
|
||||
},
|
||||
"db_position": {
|
||||
"name": "位置"
|
||||
},
|
||||
"db_program": {
|
||||
"name": "洗涤程序"
|
||||
"name": "洗涤程序",
|
||||
"state": {
|
||||
"cotton": "棉麻",
|
||||
"eco": "节能",
|
||||
"fast_wash": "快洗",
|
||||
"mixed_wash": "混合洗",
|
||||
"wool": "羊毛",
|
||||
"ssp": "SSP",
|
||||
"sport_clothes": "运动服",
|
||||
"single_dehytration": "单脱水",
|
||||
"rinsing_dehydration": "漂洗脱水",
|
||||
"big": "大件",
|
||||
"baby_clothes": "婴儿服",
|
||||
"down_jacket": "羽绒服",
|
||||
"color": "彩色",
|
||||
"intelligent": "智能",
|
||||
"quick_wash": "快速洗",
|
||||
"shirt": "衬衫",
|
||||
"fiber": "化纤",
|
||||
"enzyme": "酶洗",
|
||||
"underwear": "内衣",
|
||||
"outdoor": "户外",
|
||||
"air_wash": "空气洗",
|
||||
"single_drying": "单烘干",
|
||||
"steep": "浸泡",
|
||||
"kids": "童装",
|
||||
"water_baby_clothes": "水洗婴儿服",
|
||||
"fast_wash_30": "快洗30",
|
||||
"water_shirt": "水洗衬衫",
|
||||
"water_mixed_wash": "水洗混合",
|
||||
"water_fiber": "水洗化纤",
|
||||
"water_kids": "水洗童装",
|
||||
"water_underwear": "水洗内衣",
|
||||
"specialist": "专家",
|
||||
"love": "爱心",
|
||||
"water_intelligent": "水洗智能",
|
||||
"water_steep": "水洗浸泡",
|
||||
"water_fast_wash_30": "水洗快洗30",
|
||||
"new_water_cotton": "新水洗棉",
|
||||
"water_eco": "水洗节能",
|
||||
"wash_drying_60": "洗烘60",
|
||||
"self_wash_5": "自洁5",
|
||||
"fast_wash_min": "快洗分钟",
|
||||
"mixed_wash_min": "混合洗分钟",
|
||||
"dehydration_min": "脱水分钟",
|
||||
"self_wash_min": "自洁分钟",
|
||||
"baby_clothes_min": "婴儿服分钟",
|
||||
"silk_wash": "真丝洗",
|
||||
"prevent_allergy": "防过敏",
|
||||
"cold_wash": "冷水洗",
|
||||
"soft_wash": "轻柔洗",
|
||||
"remove_mite_wash": "除螨洗",
|
||||
"water_intense_wash": "水洗强洗",
|
||||
"fast_dry": "快干",
|
||||
"water_outdoor": "水洗户外",
|
||||
"spring_autumn_wash": "春秋洗",
|
||||
"summer_wash": "夏季洗",
|
||||
"winter_wash": "冬季洗",
|
||||
"jean": "牛仔",
|
||||
"new_clothes_wash": "新衣洗",
|
||||
"silk": "真丝",
|
||||
"insight_wash": "洞察洗",
|
||||
"fitness_clothes": "健身服",
|
||||
"mink": "貂皮",
|
||||
"fresh_air": "新风",
|
||||
"bucket_dry": "桶烘干",
|
||||
"jacket": "夹克",
|
||||
"bath_towel": "浴巾",
|
||||
"night_fresh_wash": "夜间清新洗",
|
||||
"degerm": "除菌",
|
||||
"heart_wash": "爱心洗",
|
||||
"water_cold_wash": "水洗冷水",
|
||||
"water_prevent_allergy": "水洗防过敏",
|
||||
"water_remove_mite_wash": "水洗除螨",
|
||||
"water_ssp": "水洗SSP",
|
||||
"standard": "标准",
|
||||
"green_wool": "绿色羊毛",
|
||||
"cook_wash": "烹饪洗",
|
||||
"fresh_remove_wrinkle": "清新去皱",
|
||||
"steam_sterilize_wash": "蒸汽杀菌洗",
|
||||
"sterilize_wash": "杀菌洗",
|
||||
"white_clothes_clean": "白衣清洁",
|
||||
"clean_stains": "去渍",
|
||||
"prevent_cross_color": "防串色",
|
||||
"quick_dry_clothes": "快干衣物",
|
||||
"yoga_clothes": "瑜伽服"
|
||||
}
|
||||
},
|
||||
"db_running_status": {
|
||||
"name": "运行状态"
|
||||
"name": "运行状态",
|
||||
"state": {
|
||||
"off": "关闭",
|
||||
"standby": "待机",
|
||||
"start": "启动",
|
||||
"pause": "暂停",
|
||||
"end": "结束",
|
||||
"fault": "故障",
|
||||
"delay": "延时"
|
||||
}
|
||||
},
|
||||
"db_softener": {
|
||||
"name": "柔顺剂"
|
||||
@@ -445,7 +592,13 @@
|
||||
"name": "温度"
|
||||
},
|
||||
"water_level": {
|
||||
"name": "水位"
|
||||
"name": "水位",
|
||||
"state": {
|
||||
"low": "低",
|
||||
"medium": "中",
|
||||
"high": "高",
|
||||
"auto": "自动"
|
||||
}
|
||||
},
|
||||
"db_water_level": {
|
||||
"name": "水位"
|
||||
@@ -484,7 +637,12 @@
|
||||
"name": "手势功能类型"
|
||||
},
|
||||
"humidity_mode": {
|
||||
"name": "湿度模式"
|
||||
"name": "湿度模式",
|
||||
"state": {
|
||||
"manual": "手动",
|
||||
"moist_skin": "润肤",
|
||||
"sleep": "睡眠"
|
||||
}
|
||||
},
|
||||
"icea_bar_function_switch": {
|
||||
"name": "制冰吧台功能开关"
|
||||
@@ -505,7 +663,13 @@
|
||||
"name": "中层工作状态"
|
||||
},
|
||||
"mode": {
|
||||
"name": "模式"
|
||||
"name": "运行模式",
|
||||
"state": {
|
||||
"normal": "正常",
|
||||
"factory_test": "工厂测试",
|
||||
"service": "服务",
|
||||
"normal_continus": "正常连续"
|
||||
}
|
||||
},
|
||||
"mode_state": {
|
||||
"name": "模式状态"
|
||||
@@ -520,7 +684,100 @@
|
||||
"name": "防皱"
|
||||
},
|
||||
"program": {
|
||||
"name": "程序"
|
||||
"name": "程序",
|
||||
"state": {
|
||||
"cotton": "棉麻",
|
||||
"eco": "节能洗",
|
||||
"fast_wash": "快速15",
|
||||
"mixed_wash": "混合洗",
|
||||
"wool": "羊毛",
|
||||
"ssp": "筒自洁",
|
||||
"sport_clothes": "运动服",
|
||||
"single_dehytration": "单脱水",
|
||||
"rinsing_dehydration": "漂洗+脱水",
|
||||
"big": "大件",
|
||||
"baby_clothes": "婴儿服",
|
||||
"down_jacket": "羽绒服",
|
||||
"color": "彩色衣物",
|
||||
"intelligent": "智能洗",
|
||||
"quick_wash": "快洗",
|
||||
"shirt": "衬衫",
|
||||
"fiber": "化纤",
|
||||
"enzyme": "酵素洗",
|
||||
"underwear": "内衣",
|
||||
"outdoor": "户外服",
|
||||
"air_wash": "空气洗",
|
||||
"single_drying": "单烘干",
|
||||
"steep": "浸泡洗",
|
||||
"kids": "儿童衣物",
|
||||
"water_cotton": "水韵棉织物",
|
||||
"fast_wash_30": "速洗30",
|
||||
"fast_wash_60": "60分钟快速洗",
|
||||
"water_mixed_wash": "水韵混合洗",
|
||||
"water_fiber": "水韵化纤",
|
||||
"water_kids": "水韵儿童衣物",
|
||||
"water_underwear": "水韵内衣",
|
||||
"specialist": "专业洗",
|
||||
"love": "爱心洗",
|
||||
"water_intelligent": "水韵智能洗",
|
||||
"water_steep": "水韵浸泡洗",
|
||||
"water_fast_wash_30": "水韵30分钟快速洗",
|
||||
"new_water_cotton": "新水韵棉织物",
|
||||
"water_eco": "水韵节能",
|
||||
"wash_drying_60": "洗烘60分钟",
|
||||
"self_wash_5": "自清洁5分钟",
|
||||
"fast_wash_min": "快速洗(分钟)",
|
||||
"mixed_wash_min": "混合洗(分钟)",
|
||||
"dehydration_min": "脱水(分钟)",
|
||||
"self_wash_min": "自清洁(分钟)",
|
||||
"baby_clothes_min": "婴儿服(分钟)",
|
||||
"diy0": "自定义0",
|
||||
"diy1": "自定义1",
|
||||
"diy2": "自定义2",
|
||||
"silk_wash": "丝绸洗",
|
||||
"prevent_allergy": "防过敏",
|
||||
"cold_wash": "冷水洗",
|
||||
"soft_wash": "轻柔洗",
|
||||
"remove_mite_wash": "除螨洗",
|
||||
"water_intense_wash": "水韵强力洗",
|
||||
"fast_dry": "快速烘干",
|
||||
"water_outdoor": "水韵户外服",
|
||||
"spring_autumn_wash": "春秋洗",
|
||||
"summer_wash": "夏季洗",
|
||||
"winter_wash": "冬季洗",
|
||||
"jean": "牛仔服",
|
||||
"new_clothes_wash": "新衣洗",
|
||||
"silk": "丝绸",
|
||||
"insight_wash": "洞察洗",
|
||||
"fitness_clothes": "健身服",
|
||||
"mink": "貂皮",
|
||||
"fresh_air": "清新空气",
|
||||
"bucket_dry": "桶烘干",
|
||||
"jacket": "冲锋衣",
|
||||
"bath_towel": "浴巾",
|
||||
"night_fresh_wash": "夜间清新洗",
|
||||
"heart_wash": "爱心洗",
|
||||
"water_cold_wash": "水韵冷水洗",
|
||||
"water_prevent_allergy": "水韵防过敏",
|
||||
"water_remove_mite_wash": "水韵除螨洗",
|
||||
"water_ssp": "水韵超净洗",
|
||||
"standard": "标准洗",
|
||||
"green_wool": "绿色羊毛",
|
||||
"cook_wash": "厨师服洗",
|
||||
"fresh_remove_wrinkle": "清新除皱",
|
||||
"steam_sterilize_wash": "蒸汽消毒洗",
|
||||
"aromatherapy": "香薰洗",
|
||||
"sterilize_wash": "杀菌洗",
|
||||
"white_clothes_clean": "白衣洁净",
|
||||
"clean_stains": "污渍清洁",
|
||||
"tube_clean_all": "筒自洁(全)",
|
||||
"no_channeling_color": "防串色",
|
||||
"scald_wash": "烫洗",
|
||||
"hanfu_spring_summer": "汉服(春夏)",
|
||||
"hanfu_autumn_winter": "汉服(秋冬)",
|
||||
"skin_care_wash": "护肤洗",
|
||||
"hanfu_wash": "汉服洗"
|
||||
}
|
||||
},
|
||||
"query_type": {
|
||||
"name": "查询类型"
|
||||
@@ -571,16 +828,65 @@
|
||||
"name": "水位"
|
||||
},
|
||||
"wind_gear": {
|
||||
"name": "风档"
|
||||
"name": "风档",
|
||||
"state": {
|
||||
"low": "低速",
|
||||
"medium": "中速",
|
||||
"high": "高速",
|
||||
"auto": "自动",
|
||||
"invalid": "无效"
|
||||
}
|
||||
},
|
||||
"wind_speed": {
|
||||
"name": "风速"
|
||||
"name": "风速",
|
||||
"state": {
|
||||
"low": "低速",
|
||||
"medium": "中速",
|
||||
"high": "高速",
|
||||
"auto": "自动",
|
||||
"invalid": "无效"
|
||||
}
|
||||
},
|
||||
"work_mode": {
|
||||
"name": "工作模式"
|
||||
},
|
||||
"wash_mode": {
|
||||
"name": "洗涤模式"
|
||||
"name": "洗涤模式",
|
||||
"state": {
|
||||
"neutral_gear": "待机",
|
||||
"auto_wash": "智能洗",
|
||||
"strong_wash": "超强洗",
|
||||
"standard_wash": "标准洗",
|
||||
"eco_wash": "节能洗",
|
||||
"glass_wash": "玻璃洗",
|
||||
"hour_wash": "小时洗",
|
||||
"fast_wash": "快速洗",
|
||||
"soak_wash": "预冲洗",
|
||||
"90min_wash": "90分钟洗",
|
||||
"self_clean": "自清洁",
|
||||
"fruit_wash": "果蔬洗",
|
||||
"self_define": "自定义洗",
|
||||
"germ": "消毒洗",
|
||||
"bowl_wash": "碗具洗",
|
||||
"kill_germ": "杀菌洗",
|
||||
"seafood_wash": "海鲜洗",
|
||||
"hotpot_wash": "火锅洗",
|
||||
"quietnight_wash": "夜间静音洗",
|
||||
"less_wash": "轻量洗",
|
||||
"oilnet_wash": "油网洗",
|
||||
"max_rapid_wash": "超强快洗",
|
||||
"hot_bowl_wash": "热碗洗",
|
||||
"cloud_wash": "云感洗",
|
||||
"baby_wash": "婴儿洗",
|
||||
"single_dry": "单烘干",
|
||||
"single_disinfect": "蒸汽消毒",
|
||||
"wahin_wash_dry": "一键洗烘",
|
||||
"high_temp_wash": "高温洗",
|
||||
"wash_dry": "洗烘",
|
||||
"auto_dry": "自动烘干",
|
||||
"fire_disinfect": "火焰消毒",
|
||||
"toy_wash": "玩具洗"
|
||||
}
|
||||
},
|
||||
"func_select": {
|
||||
"name": "功能选择"
|
||||
@@ -592,7 +898,14 @@
|
||||
"name": "类型选择"
|
||||
},
|
||||
"work_status": {
|
||||
"name": "工作状态"
|
||||
"name": "工作状态",
|
||||
"state": {
|
||||
"power_off": "关机",
|
||||
"power_on": "开机",
|
||||
"cancel": "取消",
|
||||
"pause": "暂停",
|
||||
"resume": "继续"
|
||||
}
|
||||
},
|
||||
"voice": {
|
||||
"name": "语音"
|
||||
@@ -659,6 +972,21 @@
|
||||
},
|
||||
"wind_pressure": {
|
||||
"name": "风压"
|
||||
},
|
||||
"hot_style": {
|
||||
"name": "供热方式"
|
||||
},
|
||||
"bash_mode": {
|
||||
"name": "卫浴模式"
|
||||
},
|
||||
"heating_mode": {
|
||||
"name": "采暖模式"
|
||||
},
|
||||
"three_way_mode": {
|
||||
"name": "三通阀模式"
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"name": "采暖器件类型"
|
||||
}
|
||||
},
|
||||
"sensor": {
|
||||
@@ -1286,6 +1614,63 @@
|
||||
"in_temperature": {
|
||||
"name": "进水温度"
|
||||
},
|
||||
"out_temperature": {
|
||||
"name": "出水温度"
|
||||
},
|
||||
"bash_temperature": {
|
||||
"name": "卫浴温度"
|
||||
},
|
||||
"bash_target_temperature": {
|
||||
"name": "卫浴目标温度"
|
||||
},
|
||||
"heating_temperature": {
|
||||
"name": "采暖温度"
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"name": "采暖目标温度"
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"name": "采暖回差温度"
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"name": "用户模式目标温度"
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"name": "活动模式目标温度"
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"name": "睡眠模式目标温度"
|
||||
},
|
||||
"rated_power": {
|
||||
"name": "额定功率"
|
||||
},
|
||||
"current_power": {
|
||||
"name": "实时功率"
|
||||
},
|
||||
"flow_volume": {
|
||||
"name": "流量"
|
||||
},
|
||||
"bash_mode": {
|
||||
"name": "卫浴模式"
|
||||
},
|
||||
"heating_mode": {
|
||||
"name": "采暖模式"
|
||||
},
|
||||
"hot_style": {
|
||||
"name": "供热方式"
|
||||
},
|
||||
"bash_function": {
|
||||
"name": "卫浴功能"
|
||||
},
|
||||
"three_way_mode": {
|
||||
"name": "三通阀模式"
|
||||
},
|
||||
"heating_unit_type": {
|
||||
"name": "采暖器件类型"
|
||||
},
|
||||
"light_gear": {
|
||||
"name": "屏幕亮度"
|
||||
},
|
||||
"mg_remain": {
|
||||
"name": "镁离子剩余"
|
||||
},
|
||||
@@ -1427,6 +1812,9 @@
|
||||
"ud_swing_angle": {
|
||||
"name": "上下摆风角度"
|
||||
},
|
||||
"lr_swing_angle": {
|
||||
"name": "左右摆风角度"
|
||||
},
|
||||
"lr_diy_down_percent": {
|
||||
"name": "左右自定义下百分比"
|
||||
},
|
||||
@@ -1617,6 +2005,39 @@
|
||||
}
|
||||
},
|
||||
"number": {
|
||||
"light_brightness": {
|
||||
"name": "灯光亮度"
|
||||
},
|
||||
"bash_target_temperature": {
|
||||
"name": "卫浴目标温度"
|
||||
},
|
||||
"bash_gap_temperature": {
|
||||
"name": "卫浴回差温度"
|
||||
},
|
||||
"heating_target_temperature": {
|
||||
"name": "采暖目标温度"
|
||||
},
|
||||
"heating_gap_temperature": {
|
||||
"name": "采暖回差温度"
|
||||
},
|
||||
"last_time": {
|
||||
"name": "持续加热时间"
|
||||
},
|
||||
"user_mode_target_temperature": {
|
||||
"name": "用户模式目标温度"
|
||||
},
|
||||
"activity_mode_target_temperature": {
|
||||
"name": "活动模式目标温度"
|
||||
},
|
||||
"sleep_mode_target_temperature": {
|
||||
"name": "睡眠模式目标温度"
|
||||
},
|
||||
"light_gear": {
|
||||
"name": "屏幕亮度"
|
||||
},
|
||||
"laundry_height": {
|
||||
"name": "一键晾衣高度"
|
||||
},
|
||||
"water_quality": {
|
||||
"name": "水质"
|
||||
},
|
||||
@@ -1672,15 +2093,15 @@
|
||||
}
|
||||
},
|
||||
"switch": {
|
||||
"laundry": {
|
||||
"name": "一键晾衣"
|
||||
},
|
||||
"winter_mode": {
|
||||
"name": "冬季模式"
|
||||
},
|
||||
"summer_mode": {
|
||||
"name": "夏季模式"
|
||||
},
|
||||
"follow_body_sense_enable": {
|
||||
"name": "随身感"
|
||||
},
|
||||
"waterions": {
|
||||
"name": "消杀"
|
||||
},
|
||||
@@ -1921,6 +2342,18 @@
|
||||
"buzzer": {
|
||||
"name": "蜂鸣器"
|
||||
},
|
||||
"pump": {
|
||||
"name": "水泵"
|
||||
},
|
||||
"wait_power": {
|
||||
"name": "待机"
|
||||
},
|
||||
"cold_power": {
|
||||
"name": "防冻"
|
||||
},
|
||||
"sleep_power": {
|
||||
"name": "休眠"
|
||||
},
|
||||
"change_litre_switch": {
|
||||
"name": "换水开关"
|
||||
},
|
||||
@@ -2572,6 +3005,9 @@
|
||||
"endpoint_8_onoff": {
|
||||
"name": "按键八"
|
||||
},
|
||||
"wisdom_wind": {
|
||||
"name": "智能风"
|
||||
},
|
||||
"work_switch": {
|
||||
"name": "工作开关"
|
||||
},
|
||||
@@ -2586,7 +3022,40 @@
|
||||
},
|
||||
"forcetbh_state": {
|
||||
"name": "强制待机"
|
||||
},
|
||||
"manul_humi": {
|
||||
"name": "加湿"
|
||||
},
|
||||
"manul_humi_value": {
|
||||
"name": "设置湿度"
|
||||
},
|
||||
"down_wind_left_switch": {
|
||||
"name": "左出风"
|
||||
},
|
||||
"down_wind_right_switch": {
|
||||
"name": "右出风"
|
||||
},
|
||||
"disinfect": {
|
||||
"name": "除菌"
|
||||
},
|
||||
"remove_arofene": {
|
||||
"name": "除甲醛"
|
||||
},
|
||||
"remove_peculiar_smell": {
|
||||
"name": "长效除味"
|
||||
},
|
||||
"auto_fresh_off_co2": {
|
||||
"name": "自动新风"
|
||||
},
|
||||
"comfort_fresh_air": {
|
||||
"name": "舒适新风"
|
||||
},
|
||||
"elec_dust_remove": {
|
||||
"name": "除尘"
|
||||
},
|
||||
"air_exhaust": {
|
||||
"name": "快速除味"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user