New apps Added
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
"""Midea Climate entries."""
|
||||
|
||||
import logging
|
||||
from typing import Any, ClassVar, TypeAlias, cast
|
||||
from typing import Any, ClassVar, cast
|
||||
|
||||
from homeassistant.components.climate import (
|
||||
ATTR_HVAC_MODE,
|
||||
@@ -101,7 +101,7 @@ async def async_setup_entry(
|
||||
async_add_entities(devs)
|
||||
|
||||
|
||||
MideaClimateDevice: TypeAlias = (
|
||||
type MideaClimateDevice = (
|
||||
MideaACDevice | MideaCCDevice | MideaCFDevice | MideaC3Device | MideaFBDevice
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""Midea Humidifier entries."""
|
||||
|
||||
import logging
|
||||
from typing import Any, TypeAlias, cast
|
||||
from typing import Any, cast
|
||||
|
||||
from homeassistant.components.humidifier import (
|
||||
HumidifierDeviceClass,
|
||||
@@ -47,7 +47,7 @@ async def async_setup_entry(
|
||||
async_add_entities(devs)
|
||||
|
||||
|
||||
MideaHumidifierDevice: TypeAlias = MideaFDDevice | MideaA1Device
|
||||
type MideaHumidifierDevice = MideaFDDevice | MideaA1Device
|
||||
|
||||
|
||||
class MideaHumidifier(MideaEntity, HumidifierEntity):
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
"iot_class": "local_push",
|
||||
"issue_tracker": "https://github.com/wuwentao/midea_ac_lan/issues",
|
||||
"loggers": ["midealocal"],
|
||||
"requirements": ["midea-local==6.6.0"],
|
||||
"version": "v0.6.11"
|
||||
"requirements": ["midea-local==6.8.0"],
|
||||
"version": "0.6.12"
|
||||
}
|
||||
|
||||
@@ -311,6 +311,12 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"name": "Swing",
|
||||
"icon": "mdi:pan-horizontal",
|
||||
},
|
||||
A1Attributes.pump: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "water_pump",
|
||||
"name": "Water Pump",
|
||||
"icon": "mdi:water-pump",
|
||||
},
|
||||
A1Attributes.fan_speed: {
|
||||
"type": Platform.SELECT,
|
||||
"translation_key": "fan_speed",
|
||||
@@ -462,6 +468,12 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"name": "Sleep Mode",
|
||||
"icon": "mdi:power-sleep",
|
||||
},
|
||||
ACAttributes.out_silent: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "out_silent",
|
||||
"name": "Outdoor Silent Mode",
|
||||
"icon": "mdi:hvac-off",
|
||||
},
|
||||
ACAttributes.smart_eye: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "smart_eye",
|
||||
@@ -480,6 +492,24 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"name": "Swing Vertical",
|
||||
"icon": "mdi:arrow-split-horizontal",
|
||||
},
|
||||
ACAttributes.anion: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "anion",
|
||||
"name": "Anion",
|
||||
"icon": "mdi:vanish",
|
||||
},
|
||||
ACAttributes.sound: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "sound",
|
||||
"name": "Sound",
|
||||
"icon": "mdi:volume-high",
|
||||
},
|
||||
ACAttributes.self_clean: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "self_clean",
|
||||
"name": "Self Clean",
|
||||
"icon": "mdi:air-filter",
|
||||
},
|
||||
ACAttributes.full_dust: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "full_dust",
|
||||
@@ -535,6 +565,19 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"unit": UnitOfPower.WATT,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
},
|
||||
ACAttributes.pmv: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "pmv",
|
||||
"name": "PMV",
|
||||
"icon": "mdi:thermometer-lines",
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
},
|
||||
ACAttributes.error_code: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "error_code",
|
||||
"name": "Error Code",
|
||||
"icon": "mdi:alert-box",
|
||||
},
|
||||
ACAttributes.wind_lr_angle: {
|
||||
"type": Platform.SELECT,
|
||||
"translation_key": "wind_lr_angle",
|
||||
@@ -1643,11 +1686,13 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"name": "Water Level",
|
||||
"icon": "mdi:cup-water",
|
||||
},
|
||||
CDAttributes.disinfect: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "disinfect",
|
||||
"name": "Disinfect",
|
||||
"icon": "mdi:bacteria",
|
||||
CDAttributes.disinfection_temperature: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "disinfection_temperature",
|
||||
"name": "Disinfection Temperature",
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
},
|
||||
CDAttributes.elec_heat: {
|
||||
"type": Platform.SENSOR,
|
||||
@@ -1751,6 +1796,99 @@ MIDEA_DEVICES: dict[int, dict[str, dict[str, Any] | str]] = {
|
||||
"name": "Type Info",
|
||||
"icon": "mdi:information-outline",
|
||||
},
|
||||
CDAttributes.eco: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "eco",
|
||||
"name": "ECO",
|
||||
"icon": "mdi:leaf",
|
||||
},
|
||||
CDAttributes.maintenance_reminder: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "maintenance_reminder",
|
||||
"name": "Maintenance Reminder",
|
||||
"icon": "mdi:wrench-clock",
|
||||
},
|
||||
CDAttributes.maintain_warn: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "maintain_warn",
|
||||
"name": "Maintenance Warning",
|
||||
"icon": "mdi:wrench-clock",
|
||||
"device_class": BinarySensorDeviceClass.PROBLEM,
|
||||
},
|
||||
CDAttributes.order1_effect: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "order1_effect",
|
||||
"name": "Schedule 1 Active",
|
||||
"icon": "mdi:calendar-check",
|
||||
"device_class": BinarySensorDeviceClass.RUNNING,
|
||||
},
|
||||
CDAttributes.order2_effect: {
|
||||
"type": Platform.BINARY_SENSOR,
|
||||
"translation_key": "order2_effect",
|
||||
"name": "Schedule 2 Active",
|
||||
"icon": "mdi:calendar-check",
|
||||
"device_class": BinarySensorDeviceClass.RUNNING,
|
||||
},
|
||||
CDAttributes.max_temperature: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "max_temperature",
|
||||
"name": "Maximum Target Temperature",
|
||||
"device_class": SensorDeviceClass.TEMPERATURE,
|
||||
"unit": UnitOfTemperature.CELSIUS,
|
||||
"state_class": SensorStateClass.MEASUREMENT,
|
||||
"icon": "mdi:thermometer-high",
|
||||
},
|
||||
CDAttributes.vacation_mode: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "vacation_mode",
|
||||
"name": "Vacation Mode",
|
||||
"icon": "mdi:beach",
|
||||
},
|
||||
CDAttributes.vacation_days: {
|
||||
"type": Platform.NUMBER,
|
||||
"translation_key": "vacation_days",
|
||||
"name": "Vacation Days",
|
||||
"max": 360,
|
||||
"min": 1,
|
||||
"step": 1,
|
||||
"icon": "mdi:calendar-range",
|
||||
},
|
||||
CDAttributes.vacation_start_year: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "vacation_start_year",
|
||||
"name": "Vacation Start Year",
|
||||
"icon": "mdi:calendar-start",
|
||||
},
|
||||
CDAttributes.vacation_start_month: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "vacation_start_month",
|
||||
"name": "Vacation Start Month",
|
||||
"icon": "mdi:calendar-start",
|
||||
},
|
||||
CDAttributes.vacation_start_day: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "vacation_start_day",
|
||||
"name": "Vacation Start Day",
|
||||
"icon": "mdi:calendar-start",
|
||||
},
|
||||
CDAttributes.auto_sterilize_week: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "auto_sterilize_week",
|
||||
"name": "Auto Sterilize Week",
|
||||
"icon": "mdi:calendar-week",
|
||||
},
|
||||
CDAttributes.auto_sterilize_hour: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "auto_sterilize_hour",
|
||||
"name": "Auto Sterilize Hour",
|
||||
"icon": "mdi:clock-outline",
|
||||
},
|
||||
CDAttributes.auto_sterilize_minute: {
|
||||
"type": Platform.SENSOR,
|
||||
"translation_key": "auto_sterilize_minute",
|
||||
"name": "Auto Sterilize Minute",
|
||||
"icon": "mdi:clock-outline",
|
||||
},
|
||||
CDAttributes.power: {
|
||||
"type": Platform.SWITCH,
|
||||
"translation_key": "power",
|
||||
|
||||
@@ -408,6 +408,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Realtime Power"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -572,6 +575,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Wasserpumpe"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -614,6 +620,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -177,6 +177,21 @@
|
||||
"smart_grid": {
|
||||
"name": "Smart Grid"
|
||||
},
|
||||
"eco": {
|
||||
"name": "ECO"
|
||||
},
|
||||
"maintenance_reminder": {
|
||||
"name": "Maintenance Reminder"
|
||||
},
|
||||
"maintain_warn": {
|
||||
"name": "Maintenance Warning"
|
||||
},
|
||||
"order1_effect": {
|
||||
"name": "Schedule 1 Active"
|
||||
},
|
||||
"order2_effect": {
|
||||
"name": "Schedule 2 Active"
|
||||
},
|
||||
"status_dhw": {
|
||||
"name": "DHW status"
|
||||
},
|
||||
@@ -272,6 +287,9 @@
|
||||
},
|
||||
"fan_speed_percent": {
|
||||
"name": "Fan Speed Percent"
|
||||
},
|
||||
"vacation_days": {
|
||||
"name": "Vacation Days"
|
||||
}
|
||||
},
|
||||
"select": {
|
||||
@@ -497,6 +515,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Realtime Power"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -602,6 +623,30 @@
|
||||
"sterilize": {
|
||||
"name": "Sterilize"
|
||||
},
|
||||
"disinfection_temperature": {
|
||||
"name": "Disinfection Temperature"
|
||||
},
|
||||
"max_temperature": {
|
||||
"name": "Maximum Target Temperature"
|
||||
},
|
||||
"vacation_start_year": {
|
||||
"name": "Vacation Start Year"
|
||||
},
|
||||
"vacation_start_month": {
|
||||
"name": "Vacation Start Month"
|
||||
},
|
||||
"vacation_start_day": {
|
||||
"name": "Vacation Start Day"
|
||||
},
|
||||
"auto_sterilize_week": {
|
||||
"name": "Auto Sterilize Week"
|
||||
},
|
||||
"auto_sterilize_hour": {
|
||||
"name": "Auto Sterilize Hour"
|
||||
},
|
||||
"auto_sterilize_minute": {
|
||||
"name": "Auto Sterilize Minute"
|
||||
},
|
||||
"working_time": {
|
||||
"name": "Working Time"
|
||||
},
|
||||
@@ -634,6 +679,9 @@
|
||||
"disinfect": {
|
||||
"name": "Disinfect"
|
||||
},
|
||||
"vacation_mode": {
|
||||
"name": "Vacation Mode"
|
||||
},
|
||||
"dry": {
|
||||
"name": "Dry"
|
||||
},
|
||||
@@ -691,6 +739,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Water Pump"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -706,6 +757,9 @@
|
||||
"sleep_mode": {
|
||||
"name": "Sleep Mode"
|
||||
},
|
||||
"out_silent": {
|
||||
"name": "Outdoor Silent Mode"
|
||||
},
|
||||
"smart_eye": {
|
||||
"name": "Smart Eye"
|
||||
},
|
||||
@@ -733,6 +787,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -479,6 +479,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Potencia en tiempo real"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Temperatura real del frigorífico"
|
||||
},
|
||||
@@ -652,6 +655,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Tono de aviso"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Bomba de agua"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Visualización de pantalla"
|
||||
},
|
||||
@@ -694,6 +700,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Oscilación vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -408,6 +408,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Realtime Power"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -572,6 +575,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Pompe à eau"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -614,6 +620,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -408,6 +408,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Realtime Power"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -572,6 +575,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Vízszivattyú"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -614,6 +620,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -441,6 +441,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Энергопотребление"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -602,6 +605,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Водяной насос"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -644,6 +650,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -408,6 +408,9 @@
|
||||
"realtime_power": {
|
||||
"name": "Realtime Power"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "Refrigerator Actual Temperature"
|
||||
},
|
||||
@@ -572,6 +575,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "Prompt Tone"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "Vodné čerpadlo"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "Screen Display"
|
||||
},
|
||||
@@ -614,6 +620,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "Swing Vertical"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -479,6 +479,9 @@
|
||||
"realtime_power": {
|
||||
"name": "实时功率"
|
||||
},
|
||||
"pmv": {
|
||||
"name": "PMV"
|
||||
},
|
||||
"refrigerator_actual_temp": {
|
||||
"name": "冷藏室实际温度"
|
||||
},
|
||||
@@ -659,6 +662,9 @@
|
||||
"prompt_tone": {
|
||||
"name": "提示音"
|
||||
},
|
||||
"water_pump": {
|
||||
"name": "水泵"
|
||||
},
|
||||
"screen_display": {
|
||||
"name": "屏幕显示"
|
||||
},
|
||||
@@ -674,6 +680,9 @@
|
||||
"sleep_mode": {
|
||||
"name": "睡眠模式"
|
||||
},
|
||||
"out_silent": {
|
||||
"name": "室外静音模式"
|
||||
},
|
||||
"smart_eye": {
|
||||
"name": "智慧眼"
|
||||
},
|
||||
@@ -701,6 +710,12 @@
|
||||
"swing_vertical": {
|
||||
"name": "垂直摆风"
|
||||
},
|
||||
"self_clean": {
|
||||
"name": "Self Clean"
|
||||
},
|
||||
"sound": {
|
||||
"name": "Sound"
|
||||
},
|
||||
"tbh": {
|
||||
"name": "TBH"
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import functools as ft
|
||||
import logging
|
||||
from typing import Any, ClassVar, TypeAlias, cast
|
||||
from typing import Any, ClassVar, cast
|
||||
|
||||
from homeassistant.components.water_heater import (
|
||||
WaterHeaterEntity,
|
||||
@@ -81,7 +81,7 @@ async def async_setup_entry(
|
||||
async_add_entities(devs)
|
||||
|
||||
|
||||
MideaWaterHeaterDevice: TypeAlias = (
|
||||
type MideaWaterHeaterDevice = (
|
||||
MideaE2Device | MideaE3Device | MideaC3Device | MideaE6Device | MideaCDDevice
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user