Water heater: handle missing current_temperature dp in precision
When calculating precision, we consider both temperature and
current_temperature dps. But if the latter is not present, our
calculation needs to avoid exceptions that will cause initialisation
of the entity to fail.
Issue #1542