Update pyotgw to 0.6b1 (#33529)

This commit is contained in:
mvn23 2020-04-02 19:29:41 +02:00 committed by GitHub
parent 8b0a0ee521
commit 1d89d22a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@
import asyncio
import pyotgw
from pyotgw import vars as gw_vars
from serial import SerialException
import voluptuous as vol
@ -53,7 +54,7 @@ class OpenThermGwConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
otgw = pyotgw.pyotgw()
status = await otgw.connect(self.hass.loop, device)
await otgw.disconnect()
return status.get(pyotgw.OTGW_ABOUT)
return status.get(gw_vars.OTGW_ABOUT)
try:
res = await asyncio.wait_for(test_connection(), timeout=10)

View File

@ -2,7 +2,7 @@
"domain": "opentherm_gw",
"name": "OpenTherm Gateway",
"documentation": "https://www.home-assistant.io/integrations/opentherm_gw",
"requirements": ["pyotgw==0.5b1"],
"requirements": ["pyotgw==0.6b1"],
"dependencies": [],
"codeowners": ["@mvn23"],
"config_flow": true

View File

@ -1465,7 +1465,7 @@ pyoppleio==1.0.5
pyota==2.0.5
# homeassistant.components.opentherm_gw
pyotgw==0.5b1
pyotgw==0.6b1
# homeassistant.auth.mfa_modules.notify
# homeassistant.auth.mfa_modules.totp

View File

@ -570,7 +570,7 @@ pyopenuv==1.0.9
pyopnsense==0.2.0
# homeassistant.components.opentherm_gw
pyotgw==0.5b1
pyotgw==0.6b1
# homeassistant.auth.mfa_modules.notify
# homeassistant.auth.mfa_modules.totp

View File

@ -2,7 +2,7 @@
import asyncio
from unittest.mock import patch
from pyotgw import OTGW_ABOUT
from pyotgw.vars import OTGW_ABOUT
from serial import SerialException
from homeassistant import config_entries, data_entry_flow, setup