Sensor: disable update on HA startup

Consider these sensors:
– command_line
– snmp sensor
Both have “scan_interval: 999999999999” and are updated by automations.
But still there are being updated on HA startup.
Is it possible to prevent it?