feat: add multi-tub support for T0xD9.

This commit is contained in:
sususweet
2025-12-20 16:09:16 +08:00
parent 8417fb380a
commit 61a8115244
5 changed files with 69 additions and 9 deletions

View File

@@ -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