Missing state and device classes

Trying to get gas into my energy dashboard (like a lot of other people, apparently). As I don’t have any means of reading usage, I am tryng to use Utility Meter with monthly manual readings.

Electricity works fine, but not gas. I see from the developer docs that there should now be a sensor device class ‘gas’ and state class ‘total_increasing’. Neither appear to be available on my system (Home Assistant OS 2021.9.7) - they do not appear in the drop down lists in entity customisations and check configuration shows an error if they are included in templates.

What have I missed?

Hi,

In the Configuration → Entity Customisations you probably missed the “other” choice wich let you type in the attribute you want to add.

Or you can manually edit a customize.yaml file if you prefer doing it with yaml and inlude it in your configuration.yaml with customize: !include customize.yaml

Tried both of those things - I just get errors. It’s as if a section of the last update wasn’t downloaded. Is that possible?