Repository navigation
plug_policy_engine v0.3.2
Summary
FLEET-170: Tablet/dashboard charging fail-safe is no longer blocked by transient unavailable/unknown suspend states.
Fix
- Tablet charging can bypass policy suspend when battery is unknown/unavailable or below the configured low threshold.
- Tablet low/unknown battery turn_on reasserts no longer trigger the non-latching auto-suspend guard.
- Optional display service calls are skipped when the display target itself is unknown/unavailable.
- Non-tablet appliance behavior and existing safety blockers remain unchanged.
Tests
python -m pytest tests\plug_policy_engine\test_engine.py tests\plug_policy_engine\test_apply_debounce.py -q-> 59 passedpython -m pytest tests\plug_policy_engine\test_tablet_display.py -q-> 9 passedpython -m pytest -q-> 174 passedpython -m compileall -q custom_components\plug_policy_engine tests\plug_policy_engine-> passedpython -m json.tool custom_components\plug_policy_engine\manifest.json-> passed
Deploy
No deploy performed. Benni handles HACS update/deploy and Home Assistant restart/reload.