Changing door icons

I have a door sensor and it shows as a door icon that opens and closes. But if I want to change it to a sliding door, it no longer opens and closes. Even though there is an open and closed version of that icon. How can I change it?

Unless you create a whole new template binary sensor, you cant.

Vote here: https://community.home-assistant.io/t/custom-device-classes/368238