I have a REST endpoint that I’d like to consume that’s limited to 100 calls / month and needs to be configured so that it only updates on demand. This can be achieved by setting the scan_interval
to some extremely high number, and then controlling the updates via homeassistant.update_entity
, however this won’t prevent HASS from scanning the endpoint after a restart. This is an edge case, but I’d like to prevent unnecessary calls to the endpoint.
Is there a way to prevent a REST sensor (or really any other sensor with a scan_interval
) from being updated on HASS restart? Alternatively, is there a way to configure it to update only after last_triggered + scan_interval
has elapsed?