I’m using a binary sensor to retrieve the cycles of my gasmeter via gpio. You can find the config of the corresponding sensors below.
I’ve tried to add the device_class: gas to my sensor, but this will be rejected by HA.
Is there any possibility to enable energy management for this type of sensor?
What do I need to add/change?
I’ve added the attributes, and configured the Energy with this gas sensor. But no value appears after 2 days. Also, if I check again the sensor within the Customizer, I cannot see the settings. Will they remain persistent?
I checked again my configuration.yaml. I’ve added these attributes at different level of my gas counter sensor. It does not work, configuration check is failing. If I set it using the developer settings, it also not working because it will not be kept. Is there some better explanation how to modify this?
Or is there an integration that is using the GPIO pin gas counter?
I’m just a normal user and not developer, so I’m lost here and don’t know where to modify the sensor.