Expose current cleaning information (#1453)

Add new sensors to show the current cleaning state:
```
Cleaning area (clean_area): 0 0
Cleaning time (clean_time): 0:00:00
Cleaning progress (clean_progress): 100 %
```
This commit is contained in:
Teemu R.
2025-01-15 14:20:19 +01:00
committed by GitHub
parent 4e7e18cef1
commit 1355e85f8e
3 changed files with 81 additions and 3 deletions

View File

@@ -159,7 +159,9 @@
"getBatteryInfo": {
"battery_percentage": 75
},
"getAreaUnit": {"area_unit": 0},
"getCleanAttr": {"suction": 2, "cistern": 2, "clean_number": 1},
"getCleanInfo": {"clean_time": 5, "clean_area": 5, "clean_percent": 1},
"getCleanStatus": {"getCleanStatus": {"clean_status": 0, "is_working": false, "is_mapping": false, "is_relocating": false}},
"getCleanRecords": {
"lastest_day_record": [