Be more cautious when initializing HA policy
pep8 tidy