Add fixture for RV30 Plus

This commit is contained in:
Teemu Rytilahti
2024-11-30 00:56:02 +01:00
parent d122b48788
commit 22200f00a7
3 changed files with 343 additions and 3 deletions

View File

@@ -847,7 +847,8 @@ def get_smart_child_fixture(response):
model_info = SmartDevice._get_device_info(response, None)
hw_version = model_info.hardware_version
fw_version = model_info.firmware_version
model = model_info.long_name
# Vacuum models can have a space in their name
model = model_info.long_name.replace(" ", "_")
if model_info.region is not None:
model = f"{model}({model_info.region})"
save_filename = f"{model}_{hw_version}_{fw_version}.json"