From 80041499082de69259b9d74b4a49f9d1cd61ae2c Mon Sep 17 00:00:00 2001 From: Warren Date: Fri, 22 Dec 2023 14:11:39 +1100 Subject: [PATCH] fix some linting issues --- custom_components/ha_behringer_mixer/api.py | 3 ++- custom_components/ha_behringer_mixer/manifest.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/custom_components/ha_behringer_mixer/api.py b/custom_components/ha_behringer_mixer/api.py index 6d20675..b213438 100644 --- a/custom_components/ha_behringer_mixer/api.py +++ b/custom_components/ha_behringer_mixer/api.py @@ -60,10 +60,11 @@ def mixer_network_name(self): return self._mixer.name() async def async_get_data(self) -> any: + """Get data from the API.""" return self._get_data() def _get_data(self) -> any: - """Get data from the API.""" + """Internal function to get data from the API.""" data = self._mixer.state() data["/firmware"] = self._mixer.firmware() data["/available"] = self._mixer.subscription_connected() diff --git a/custom_components/ha_behringer_mixer/manifest.json b/custom_components/ha_behringer_mixer/manifest.json index 5e7ff21..964ed78 100644 --- a/custom_components/ha_behringer_mixer/manifest.json +++ b/custom_components/ha_behringer_mixer/manifest.json @@ -8,7 +8,7 @@ "iot_class": "local_push", "issue_tracker": "https://github.com/wrodie/ha_behringer_mixer/issues", "requirements": [ - "behringer-mixer==0.4.0" + "behringer-mixer==0.4.1" ], "version": "0.1.1" }