I added a new sensor in glances on my server for available system updates and I’d like to track that in home assistant via the glances integration developed by @Wittypluck. Is it as simple as adding a sensor definition to sensor.py Here . I ask because I seem to have a whole bunch of extra sensors thay arent defined in sensors.py so I assumed after reloading the integration (or deleting and re-adding the server in the integration, I tried both) my new sensor would be in the list. But alas it is not. This sensor is an integer. Any tips would be appreciated.
Hello @kevincw01
,
The Home assistant Glances integration uses an underlying library : python-glances-api
New sensors have to be added both in that library (in the get_ha_sensor_data method) and in the HA integration.