IoTaWatt Integration - scan interval

The IoTaWatt integration does not appear to have any way to configure the scan interval for data refresh. This should be added so that the user can determine how often they want it to refresh.

The IoTaWatt’s built in webserver is able to refresh the power stats every couple seconds, it does not seem unreasonable to want to configure a 5-10 second refresh interval for Home Assistant to ingest changing data from the sensors.

Example usecases that require short duration:

  • Detect clothes dryer door open by draw of light-bulb (usually is only open for 15-30 sec while loading/emptying)
  • Detect sump-pump running (or failing to run)
  • Detect garage door opener running