Glances Integration: How to change scan interval for a couple of entities

I am able to specify a scan interval for ALL entities in the Glances Integration. However, I would to specify a 5 second scan interval for CPU and MEMORY only. The rest can be at the default. How can I do that?

Remove CPU and MEMORY from glances configuration, then make 2 separate rest sensors grabbing each piece of information at your desired scan_interval.