feat: zero cold water switch

This commit is contained in:
Hinnka
2025-10-08 12:43:28 +08:00
parent 2e2ec7a989
commit 2c821ceb54
3 changed files with 8 additions and 7 deletions

View File

@@ -7,19 +7,14 @@ DEVICE_MAPPING = {
"default": {
"rationale": ["off", "on"],
"queries": [{}],
"centralized": [
"power", "bubble", "cold_water", "bathtub", "safe", "cold_water_dot",
"change_litre_switch", "cold_water_ai", "cold_water_pressure",
"person_mode_one", "person_mode_two", "person_mode_three", "gesture_function",
"mode", "power_level", "type_machine", "capacity", "temperature"
],
"centralized": [],
"entities": {
Platform.SWITCH: {
"bubble": {
"device_class": SwitchDeviceClass.SWITCH,
"rationale": [0, 1]
},
"cold_water": {
"cold_water_master": {
"device_class": SwitchDeviceClass.SWITCH,
},
"bathtub": {