I have been adding some sensors to my Hassio. -Traffic information and air pollution data. Data I do not log and only need when awake and at home (not when on holiday).
The sensors hit the API quite often 24/7, generating data traffic. Often when not needed (nights/holidays).
To minimize data traffic and CPU load, why not enhance the sensor class with methods, enabling turning sensor on/off and setting day/time constrains for when the sensor being operative?
As far I can tell this cannot be done now?