Device_class for Airon in ESPHome

Hi All,
I used Dr. ZZZ’s garage opener integration as an example for my Aircon integration with ESPhome.

Aircon works now but there still some artefacts.
For example
device_class: garage-door
that makes Aircon status to switch between “open” and “closed” instead of “on” and “off”
Could someone guide me in the proper direction: what’s the proper device_class for aircon and where could I find more info about it?

binary_sensor:

  - platform: gpio

    pin:

      number: GPIO14

      mode: INPUT

      inverted: True

    name: "Aircon status"

    device_class: garage_door

What does “Aircon Status” actually report?

On or off: use the power device class.
Faulty or ok: use the problem device class.

If it’s something else the available binary sensor device classes are listed here: https://www.home-assistant.io/integrations/binary_sensor#device-class

If you can’t find one to fit your needs just don’t include it (default class = none ). You can then give the sensor any mdi icon you want using home assistant customisation. You can cause the icon to change colour by using state_color in any Lovelace card that uses the sensor.

Thank you.
That’s it. I have changed it to ‘power’, it shows “on” and “off” states now.
For whatever reason I thought device_class is ESPHome specific and could not find clear answer, most of the times it was mentioned “use corresponding device class”.
Apparently that’s home assistant level.
I haven’t mastered Lovelace yet. I would try to change icon appearance when I get there.

Kind regards,
Vad