Adds support for setting away mode start and end dates, and getting the current datetime for Atlantic Water Heater.
This is a prerequisite for the future PR to ha_core that switches the away mode for Atlantic Water Heater not only to the on state but also sets its setAbsenceStartDate to the current date and setAbsenceEndDate to the future date (now + 1 year) for the away mode to work correctly.
Adds support for setting away mode start and end dates, and getting the current datetime for Atlantic Water Heater.
This is a prerequisite for the future PR to ha_core that switches the away mode for Atlantic Water Heater not only to the
on
state but also sets itssetAbsenceStartDate
to the current date andsetAbsenceEndDate
to the future date (now + 1 year) for the away mode to work correctly.