We're using a custom exexml sensor that dynamically returns a handful of channels. One of the channels is no longer needed and not returning any data (the sensor report it as "no data"). Our custom sensor is not returning that channel in the XML anymore. How do I remove that channel from the sensor?
The only way I've found to do it is to the delete the sensor entirely and recreate it. But unfortunately that causes us to lose the history data for ALL channels in that sensor.