Reporting state history using influxdb - event at HA startup

The Spook integration has the ability to enable and disable entities.

When you re-enable the template sensor after a restart it will remain unknown until it triggers next.