feat: update 0xED mapping

This commit is contained in:
Hinnka
2025-10-07 09:03:32 +08:00
parent e1924bdc4b
commit 2e2ec7a989
3 changed files with 35 additions and 2 deletions

View File

@@ -14,9 +14,11 @@ DEVICE_MAPPING = {
"power": {
"device_class": SwitchDeviceClass.SWITCH,
},
"heat_start": {
"heat": {
"device_class": SwitchDeviceClass.SWITCH,
},
"antifreeze": {
"device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1],
},
"lock": {
"device_class": SwitchDeviceClass.SWITCH,
@@ -111,6 +113,16 @@ DEVICE_MAPPING = {
"unit_of_measurement": UnitOfTemperature.CELSIUS,
"state_class": SensorStateClass.MEASUREMENT
},
"input_temperature_sensing": {
"device_class": SensorDeviceClass.TEMPERATURE,
"unit_of_measurement": UnitOfTemperature.CELSIUS,
"state_class": SensorStateClass.MEASUREMENT
},
"hot_pot_temperature": {
"device_class": SensorDeviceClass.TEMPERATURE,
"unit_of_measurement": UnitOfTemperature.CELSIUS,
"state_class": SensorStateClass.MEASUREMENT
},
"cool_target_temperature": {
"device_class": SensorDeviceClass.TEMPERATURE,
"unit_of_measurement": UnitOfTemperature.CELSIUS,
@@ -186,6 +198,9 @@ DEVICE_MAPPING = {
"unit_of_measurement": UnitOfTime.SECONDS,
"state_class": SensorStateClass.MEASUREMENT
},
"heat_start": {
"device_class": SensorDeviceClass.ENUM,
},
"regeneration_stages": {
"device_class": SensorDeviceClass.ENUM,
},

View File

@@ -1475,6 +1475,12 @@
},
"delay_time": {
"name": "Delay Time"
},
"input_temperature_sensing": {
"name": "Input Temperature Sensing"
},
"hot_pot_temperature": {
"name": "Hot Pot Temperature"
}
},
"switch": {
@@ -2308,6 +2314,9 @@
},
"drying_direction": {
"name": "Drying Direction"
},
"antifreeze": {
"name": "Antifreeze"
}
}
}

View File

@@ -1475,6 +1475,12 @@
},
"delay_time": {
"name": "延时时间"
},
"input_temperature_sensing": {
"name": "输入温度"
},
"hot_pot_temperature": {
"name": "热水温度"
}
},
"switch": {
@@ -2308,6 +2314,9 @@
},
"drying_direction": {
"name": "烘干方向"
},
"antifreeze": {
"name": "防冻模式"
}
}
}