When a user deletes a sensor, they should not linger in JSON of flex-config and sensors-to-show anymore.
This leads to frustration and even bugs down the road.
The PR should find a way to remove such references. It will require to search JSONB via sqlalchemy.
When a user deletes a sensor, they should not linger in JSON of flex-config and sensors-to-show anymore.
This leads to frustration and even bugs down the road.
The PR should find a way to remove such references. It will require to search JSONB via sqlalchemy.