@krozgrov
by krozgrov
Follow-up fix: use hass.states.get(...) to avoid StateMachine membership errors on setup.