I have described the issue well here: https://github.com/home-assistant/core/issues/148301 I think that it is a bug in Home Assistant. We can work around it.