diff --git a/README.md b/README.md index 56035e3..bdef132 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,6 @@ You have two options for installation: - Go to the [HACS](https://hacs.xyz) panel - Go to integrations -- Click 3 dots at the top -- Click Custom repositories -- Add `https://github.com/samuolis/brink` as repository. -- Click '+ EXPLORE AND DOWNLOAD REPOSITORIES' button. - Search for 'Brink-Home ventilations' - Click \'Download this repository with HACS'. diff --git a/custom_components/brink_ventilation/core/brink_home_cloud.py b/custom_components/brink_ventilation/core/brink_home_cloud.py index 822137b..7e94d0c 100644 --- a/custom_components/brink_ventilation/core/brink_home_cloud.py +++ b/custom_components/brink_ventilation/core/brink_home_cloud.py @@ -117,9 +117,9 @@ async def get_description_values(self, system_id, gateway_id): pages = menu_item.get("pages", []) home_page = pages[0] parameters = home_page.get("parameterDescriptors", []) - ventilation = parameters[0] - mode = parameters[1] - filters_need_change = parameters[3] + ventilation = self.__find(parameters, "uiId", "Lüftungsstufe") + mode = self.__find(parameters, "uiId", "Betriebsart") + filters_need_change = self.__find(parameters, "uiId", "Status Filtermeldung") description_result = { "ventilation": self.__get_type(ventilation),