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

Commit

Permalink
Merge pull request #42 from rccoleman/dev
Browse files Browse the repository at this point in the history
Merge from dev
  • Loading branch information
rccoleman authored Mar 22, 2023
2 parents 2b8251f + ad27258 commit b33079a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/lamarzocco/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"homekit": {},
"dependencies": [],
"codeowners": ["@rccoleman"],
"iot_class": "local_polling"
"iot_class": "local_polling",
"loggers": ["lmdirect"]
}
3 changes: 2 additions & 1 deletion custom_components/lamarzocco/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
SUPPORT_TARGET_TEMPERATURE,
ATTR_CURRENT_TEMPERATURE,
ATTR_TEMPERATURE,
STATE_ELECTRIC,
WaterHeaterEntity,
)
from homeassistant.const import PRECISION_TENTHS, TEMP_CELSIUS
Expand Down Expand Up @@ -110,7 +111,7 @@ def __init__(self, lm, water_heater_type, hass, config_entry):
@property
def state(self):
"""State of the water heater."""
return self.current_temperature
return STATE_ELECTRIC

@property
def current_temperature(self):
Expand Down

0 comments on commit b33079a

Please sign in to comment.