Skip to content

Commit 45918ea

Browse files
authored
Merge pull request #367 from jwillemsen/jwi-logginggethvacmode
Add logging to get hvac mode
2 parents efb2363 + 7fa8192 commit 45918ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

custom_components/daikin_onecta/climate.py

+6
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,12 @@ def get_hvac_mode(self):
351351
if onoff is not None:
352352
if onoff["value"] != "off":
353353
mode = operationmode["value"]
354+
_LOGGER.info(
355+
"Device '%s': %s hvac mode '%s'",
356+
self._device.name,
357+
self._setpoint,
358+
mode,
359+
)
354360
return DAIKIN_HVAC_TO_HA.get(mode, HVACMode.HEAT_COOL)
355361

356362
def get_hvac_modes(self):

0 commit comments

Comments
 (0)