How to hide all automations entity?

hello. I want to hide the all automations entity in this card. I can remove that entity from the card but when I remove it. the head toggle is not effect to the other entites in the card. How can I hide the all automations entity and still can controll all the toogle header? Thank
Imgur