Fix incomfort water heater return translated fault code (#119311)

This commit is contained in:
Jan Bouwhuis 2024-06-10 19:30:12 +02:00 committed by GitHub
parent d6bcb1c5fd
commit b7f74532dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,9 +68,6 @@ class IncomfortWaterHeater(IncomfortBoilerEntity, WaterHeaterEntity):
return max(self._heater.heater_temp, self._heater.tap_temp)
@property
def current_operation(self) -> str:
def current_operation(self) -> str | None:
"""Return the current operation mode."""
if self._heater.is_failed:
return f"Fault code: {self._heater.fault_code}"
return self._heater.display_text