Hardware tag/attribute missing for esphome devices

In the home assistant devices dashboard is the hardware version missing on all my recent and new created devices. The older devices have a hardware version number (see pictures).
The home assistant source coude __init__.py states that hw_version = device_info.project_version however it remains empty.
I can also check this with the jinja template

{{ device_attr( 'light.garage_status_light', "hw_version") }}  result = No
ne

The esphome yaml part that containes the version info:

esphome:
  name: esphome-web-850fd0
  friendly_name: Garage
  min_version: 2025.11.0
  name_add_mac_suffix: false
  project:
    name: 'theone.garage device'
    version: '0.3'

An older device (added somewhere in 2022 or 2023) does have the hardware version! And now changing the device.version in the esphome yaml doesn’t update this tag but it does update the firmware version.

I don’t get it why some (long time ago added) devices do have the hardware version and the newly added don’t.

The same behaviour happens on another install.
So is this a home assistant bug? Other people with the same problem?

Check if some of the sensors are disabled.
There were a change in HA at one point that made all these secondary/diagnostic sensors disabled by default at pairing time.

This isnt a sensor or entity and therefore cannot be enable or disabled. This is the information from the device - see the screenshot.
Does anyone else have the hardware tag in their device information when adding a new device?
For example when using:

esphome:
  name: test
  project:
    name: 'creator.device name'
    version: '007'  #this should be the hardware information according to the home-assistant source code in __init.py__