Follow-up for cherry-picked #5118 commits: - Remove duplicate 'import subprocess' - Move _KNOWN_DELIVERY_PLATFORMS to module-level (after imports) - Add 'homeassistant' to allowlist (existing platform missing from original PR) - Remove trailing whitespace