Use `pysnmplib` instead of `pysnmp` (#72645)

* Use pysnmp and bump brother

* Fix mypy errors

* Bump brother version
This commit is contained in:
Maciej Bieniek 2022-05-30 07:25:35 +02:00 committed by GitHub
parent b9e93207e3
commit 75669dba6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -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(

View File

@ -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.",

View File

@ -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"]

View File

@ -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
@ -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

View File

@ -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