* allow reauthentification on error
* Allow reauthentification on error
* allow reauthentification on error
* allow reauthentification on error
* Set one fonction for day/month/week/year and allow retry on error
* allow retry and manage return status
* local variable in retrieve_period_usage_with_retry
* Use If statement rather than exception
* remove blank
* code format
* Reduce variable
* remove useless variable
* get method return false and pylint no else-return
* remove blank
* trailing white space