Sorry to disturb you laziness.
See How to help us help you - or How to ask a good question - Configuration - Home Assistant Community (home-assistant.io) point 11.
And you still didn’t include the full automations.
Ah no, your automations are just unreadable because of not being formatted