From 0c989e092c58232ba455ac18e1f924ba25765adc Mon Sep 17 00:00:00 2001 From: anders Date: Wed, 10 Jan 2024 21:42:26 +0100 Subject: [PATCH] Added app_info as sensor --- custom_components/thermiq_mqtt/heatpump/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/thermiq_mqtt/heatpump/__init__.py b/custom_components/thermiq_mqtt/heatpump/__init__.py index 3a4b477..8639920 100644 --- a/custom_components/thermiq_mqtt/heatpump/__init__.py +++ b/custom_components/thermiq_mqtt/heatpump/__init__.py @@ -184,6 +184,10 @@ 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 # + "_"