I use this version and I haven’t had any issues. I’m on 2022.6.3
EDIT: I do seem to recall doing this hack awhile back, perhaps it’s still in place:
Currently switch.py has:
from homeassistant.const import (DEVICE_DEFAULT_NAME, ATTR_HIDDEN, EVENT_TIME_CHANGED, EVENT_HOMEASSISTANT_STOP)
change to:
from homeassistant.const import (DEVICE_DEFAULT_NAME, ATTR_HIDDEN, EVENT_HOMEASSISTANT_STOP)