Right now if the addon is stopped (and possibly if polling fails, not sure if that case ist handled) the sensor continues to stay on the last received value, until hass is restarted.
There is the configuration value 'expire_after' or 'exp_aft' in short form. This allows to set a time in seconds after which the value becomes unavailable, if no new value is received.
This could be, for example, be set to a configurable factor of the polling rate or be disabled when set to 0.
Right now if the addon is stopped (and possibly if polling fails, not sure if that case ist handled) the sensor continues to stay on the last received value, until hass is restarted.
There is the configuration value 'expire_after' or 'exp_aft' in short form. This allows to set a time in seconds after which the value becomes unavailable, if no new value is received.
This could be, for example, be set to a configurable factor of the polling rate or be disabled when set to 0.