Add setting to change clean count (#1457)

Adds a setting to change the number of times to clean:
```
== Configuration ==
Clean count (clean_count): 1 (range: 1-3)
```
This commit is contained in:
Teemu R.
2025-01-15 19:11:33 +01:00
committed by GitHub
parent 0f185f1905
commit bc97c0794a
2 changed files with 41 additions and 4 deletions

View File

@@ -69,6 +69,13 @@ async def test_features(dev: SmartDevice, feature: str, prop_name: str, type: ty
{"suction": 1, "type": "global"},
id="vacuum_fan_speed",
),
pytest.param(
"clean_count",
2,
"setCleanAttr",
{"clean_number": 2, "type": "global"},
id="clean_count",
),
],
)
@clean