CLIMATE-330 local.py to use 'utils.decode_time_values' to calculate time