fix: ensure green energy use is a boolean in normalise function
Updates the normaliseEntry()
function to cast an entry's 'green' value to a boolean, correcting type mismatch issues with data retrieval.
This also fixes related issues with the following functions:
- routeHistory()
- routeBadgeHTML()