Update pyotgw to 0.6b1 (#33529)

This commit is contained in:
mvn23 authored and GitHub committed 2020-04-02 10:29:41 -07:00
1 parent 8b0a0ee521
commit 1d89d22a38
5 files changed
+6 -5

No files matched your search

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