Skip to content

Commit

Permalink
fix some linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wrodie committed Dec 22, 2023
1 parent 874717f commit 8004149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/ha_behringer_mixer/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ha_behringer_mixer/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 8004149

Please sign in to comment.