Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThermIQ committed Jan 11, 2024
1 parent 001e991 commit 002217a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions custom_components/thermiq_mqtt/heatpump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,6 @@ async def message_received(self, message):
if "vp_read" in json_dict:
self._hpstate["communication_status"] = json_dict["vp_read"]

if "app_info" in json_dict:
self._hpstate["app_info"] = json_dict["app_info"]

# self._hass.states.async_set(
# self._domain
# + "_"
Expand All @@ -205,6 +202,10 @@ async def message_received(self, message):
# "ok",
# )

if "app_info" in json_dict:
self._hpstate["app_info"] = json_dict["app_info"]


self._hass.bus.fire(
self._domain + "_" + self._id + "_msg_rec_event", {}
)
Expand Down

0 comments on commit 002217a

Please sign in to comment.