Describe the solution you'd like
The before and after parameters of Home.fetch_consumption() and Home.fetch_production() are actually Base64 encoded datetimes. It would be nice to be able to pass those arguments as a datetime object as well as a base64 string. Passing a datetime object can be much more readable and intuitive.