Update pyotgw to 0.6b1 (#33529)
parent
8b0a0ee521
commit
1d89d22a38
|
@ -2,6 +2,7 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
import pyotgw
|
import pyotgw
|
||||||
|
from pyotgw import vars as gw_vars
|
||||||
from serial import SerialException
|
from serial import SerialException
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
@ -53,7 +54,7 @@ class OpenThermGwConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
otgw = pyotgw.pyotgw()
|
otgw = pyotgw.pyotgw()
|
||||||
status = await otgw.connect(self.hass.loop, device)
|
status = await otgw.connect(self.hass.loop, device)
|
||||||
await otgw.disconnect()
|
await otgw.disconnect()
|
||||||
return status.get(pyotgw.OTGW_ABOUT)
|
return status.get(gw_vars.OTGW_ABOUT)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
res = await asyncio.wait_for(test_connection(), timeout=10)
|
res = await asyncio.wait_for(test_connection(), timeout=10)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"domain": "opentherm_gw",
|
"domain": "opentherm_gw",
|
||||||
"name": "OpenTherm Gateway",
|
"name": "OpenTherm Gateway",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/opentherm_gw",
|
"documentation": "https://www.home-assistant.io/integrations/opentherm_gw",
|
||||||
"requirements": ["pyotgw==0.5b1"],
|
"requirements": ["pyotgw==0.6b1"],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": ["@mvn23"],
|
"codeowners": ["@mvn23"],
|
||||||
"config_flow": true
|
"config_flow": true
|
||||||
|
|
|
@ -1465,7 +1465,7 @@ pyoppleio==1.0.5
|
||||||
pyota==2.0.5
|
pyota==2.0.5
|
||||||
|
|
||||||
# homeassistant.components.opentherm_gw
|
# homeassistant.components.opentherm_gw
|
||||||
pyotgw==0.5b1
|
pyotgw==0.6b1
|
||||||
|
|
||||||
# homeassistant.auth.mfa_modules.notify
|
# homeassistant.auth.mfa_modules.notify
|
||||||
# homeassistant.auth.mfa_modules.totp
|
# homeassistant.auth.mfa_modules.totp
|
||||||
|
|
|
@ -570,7 +570,7 @@ pyopenuv==1.0.9
|
||||||
pyopnsense==0.2.0
|
pyopnsense==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.opentherm_gw
|
# homeassistant.components.opentherm_gw
|
||||||
pyotgw==0.5b1
|
pyotgw==0.6b1
|
||||||
|
|
||||||
# homeassistant.auth.mfa_modules.notify
|
# homeassistant.auth.mfa_modules.notify
|
||||||
# homeassistant.auth.mfa_modules.totp
|
# homeassistant.auth.mfa_modules.totp
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
from pyotgw import OTGW_ABOUT
|
from pyotgw.vars import OTGW_ABOUT
|
||||||
from serial import SerialException
|
from serial import SerialException
|
||||||
|
|
||||||
from homeassistant import config_entries, data_entry_flow, setup
|
from homeassistant import config_entries, data_entry_flow, setup
|
||||||
|
|
Loading…
Reference in New Issue