Skip to content

Commit

Permalink
Fixed deletion of previous integrations when configuring a new device
Browse files Browse the repository at this point in the history
  • Loading branch information
albaintor committed Aug 6, 2024
1 parent 32664e3 commit 1203cb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Fetch all tags to determine version
run: |
git fetch origin +refs/tags/*:refs/tags/*
echo "VERSION=$(git describe --match "v[0-9]*" --tags HEAD --always)" >> $GITHUB_ENV
echo VERSION="v$(jq .version -r driver.json)" >> $GITHUB_ENV
# echo "VERSION=$(git describe --match "v[0-9]*" --tags HEAD --always)" >> $GITHUB_ENV

- name: Verify driver.json version for release build
if: contains(github.ref, 'tags/v')
Expand Down
2 changes: 1 addition & 1 deletion driver.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"driver_id": "zidootv_driver",
"version": "1.0.1",
"version": "1.0.2",
"min_core_api": "0.20.0",
"name": {
"en": "Zidoo TV"
Expand Down
2 changes: 0 additions & 2 deletions intg-zidoo/setup_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ async def _handle_discovery(msg: UserDataResponse) -> RequestUserInput | SetupEr
"""
global _setup_step

config.devices.clear() # triggers device instance removal

dropdown_items = []
address = msg.input_values["address"]

Expand Down

0 comments on commit 1203cb8

Please sign in to comment.