WTH can't Modbus scanning be configured by a time window?

Modbus checks solar panels, solar inventers are only available between sunrise and sunset. This causes the last value of the sensor to be unavailable, requiring a template to retain the last value. It also causes the logs flooded with timeout messages, and occasional crashes.