EXPERIMENTAL - Platform Blocking Fix
Pre-release
Pre-release
This release fixes critical bugs in the platform blocking functionality. Testing required to verify if it actually works with Microsoft's API.
🐛 Bug Fixes
- Fixed incorrect API parameter types for
override_device() - Now uses proper
OverrideTargetenum (WINDOWS/MOBILE/XBOX) - Now uses proper
OverrideTypeenum (UNTIL/CANCEL) - Properly converts duration to datetime for
valid_until
🔄 Breaking Changes
Switch entities changed from per-device to per-platform:
- Before:
switch.desktop_9n6pnll - Now:
switch.maceo_windows
Services updated:
- Now require
account_id+platforminstead ofdevice_id - Platform options:
windows,mobile,xbox
🧪 How to Test
- Install v0.5.1
- Delete and recreate the integration
- You'll see platform switches (e.g., "Macéo Windows")
- Try toggling the switch OFF for 5 minutes
- Check if the device actually blocks
⚠️ Important Notes
- If blocking doesn't work, fall back to v0.6.0 (monitoring only)
- API confirmed by pyfamilysafety developer as correct
- Microsoft's API may still not work despite correct parameters
Install: Installation Guide