Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion homeassistant/components/opentherm_gw/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import asyncio

import pyotgw
from pyotgw import vars as gw_vars
from serial import SerialException
import voluptuous as vol

Expand Down Expand Up @@ -53,7 +54,7 @@ async def test_connection():
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)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/opentherm_gw/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/components/opentherm_gw/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down