CombinedVirtualRestrictionsCapability endpoint returns mixed coordinates
DmytroMelnyk opened this issue · comments
DmytroMelnyk commented
Describe the bug
To Reproduce
Steps to reproduce the behavior:
curl -X 'PUT' 'http://$VACUUM_API/api/v2/robot/capabilities/CombinedVirtualRestrictionsCapability' -H 'Content-Type: application/json' -d $(curl -X 'GET' 'http://$VACUUM_API/api/v2/robot/capabilities/CombinedVirtualRestrictionsCapability')
- You'll see that restrictedZones has been changed
$VACUUM_API - is the IP address of the robot
Screenshots
- https://prnt.sc/1AI9uQTPpFEy
- After aformentioned command execution: https://prnt.sc/O3uy4GtCf-DI
Vacuum Model
Dreame D9 Pro
Valetudo Version
2022.10.0
Expected behavior
Restricted zone must be without changes
Additional context
Sören Beye commented
Oh! Indeed
Fixed with
c4d5df8