Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #147 from jwillemsen/jwi-notanklogging
Browse files Browse the repository at this point in the history
Fixed logging when the device has no tank
  • Loading branch information
jwillemsen authored Apr 25, 2023
2 parents 5f0c523 + 4d6a90b commit 7c72e04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"requirements": [
"oic==1.4.0"
],
"version": "2.7.0"
"version": "2.7.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def async_setup_entry(hass, entry, async_add_entities):
_LOGGER.info("'%s' has a tank management point, adding Water Heater", device_model)
async_add_entities([DaikinWaterTank(device)], update_before_add=True)
else:
_LOGGER.info("'%s' has not a tank management point, ignoring", self._device.name)
_LOGGER.info("'%s' has not a tank management point, ignoring", device.name)

class DaikinWaterTank(WaterHeaterEntity):
"""Representation of a Daikin Water Tank."""
Expand Down

0 comments on commit 7c72e04

Please sign in to comment.