Skip to content

Commit

Permalink
Use pysnmplib instead of pysnmp (home-assistant#72645)
Browse files Browse the repository at this point in the history
* Use pysnmp and bump brother

* Fix mypy errors

* Bump brother version
  • Loading branch information
bieniu authored May 30, 2022
1 parent b9e9320 commit 75669db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/brother/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class BrotherConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):

def __init__(self) -> None:
"""Initialize."""
self.brother: Brother = None
self.brother: Brother
self.host: str | None = None

async def async_step_user(
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/brother/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Brother Printer",
"documentation": "https://www.home-assistant.io/integrations/brother",
"codeowners": ["@bieniu"],
"requirements": ["brother==1.1.0"],
"requirements": ["brother==1.2.3"],
"zeroconf": [
{
"type": "_printer._tcp.local.",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/snmp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "snmp",
"name": "SNMP",
"documentation": "https://www.home-assistant.io/integrations/snmp",
"requirements": ["pysnmp==4.4.12"],
"requirements": ["pysnmplib==5.0.15"],
"codeowners": [],
"iot_class": "local_polling",
"loggers": ["pyasn1", "pysmi", "pysnmp"]
Expand Down
4 changes: 2 additions & 2 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ bravia-tv==1.0.11
broadlink==0.18.2

# homeassistant.components.brother
brother==1.1.0
brother==1.2.3

# homeassistant.components.brottsplatskartan
brottsplatskartan==0.0.1
Expand Down Expand Up @@ -1838,7 +1838,7 @@ pysmarty==0.8
pysml==0.0.7

# homeassistant.components.snmp
pysnmp==4.4.12
pysnmplib==5.0.15

# homeassistant.components.soma
pysoma==0.0.10
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ bravia-tv==1.0.11
broadlink==0.18.2

# homeassistant.components.brother
brother==1.1.0
brother==1.2.3

# homeassistant.components.brunt
brunt==1.2.0
Expand Down

0 comments on commit 75669db

Please sign in to comment.