Skip to content

Commit

Permalink
Update PyPlumIO to 0.5.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Dec 7, 2023
1 parent 0d9019e commit 326e112
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyplumio==0.5.9 pytest-homeassistant-custom-component psutil-home-assistant fnv-hash-fast aiohttp_cors mypy pylint flake8 flake8-pyproject black
python -m pip install pyplumio==0.5.10 pytest-homeassistant-custom-component psutil-home-assistant fnv-hash-fast aiohttp_cors mypy pylint flake8 flake8-pyproject black
- name: Check typing
run: |
Expand Down
4 changes: 2 additions & 2 deletions custom_components/plum_ecomax/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ async def async_get_connection_handler(
return pyplumio.TcpConnection(
data[CONF_HOST],
data.get(CONF_PORT, DEFAULT_PORT),
ethernet_parameters=ethernet,
protocol=pyplumio.AsyncProtocol(ethernet_parameters=ethernet),
)

return pyplumio.SerialConnection(
data.get(CONF_DEVICE, DEFAULT_DEVICE),
int(data.get(CONF_BAUDRATE, DEFAULT_BAUDRATE)),
ethernet_parameters=ethernet,
protocol=pyplumio.AsyncProtocol(ethernet_parameters=ethernet),
)


Expand Down
2 changes: 1 addition & 1 deletion custom_components/plum_ecomax/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"pyplumio"
],
"requirements": [
"pyplumio==0.5.9"
"pyplumio==0.5.10"
],
"version": "0.4.1-beta.4"
}

0 comments on commit 326e112

Please sign in to comment.