Integration SQL sensor: Add possibility to define the update interval

The current SQL - Home Assistant integration doesn’t allow to define in which intervals the sensor should be updated. There might be sensor configurations where it doesn’t make too much sense to update the sensor every 30 seconds as it is set by default. e.g. I am using the SQL sensor to report the size of the homeassistant database. Here it would make sense to update the sensor maybe once per day.
I would appreciate if there will be a new parameter added that defines in which interval the sensor should be updated.

e.g. scan_interval:

Best Regards

Matthias