Skip to content

configuration["discovery_filter"] fix test for Docker & HA Add-on #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

DigiH
Copy link
Contributor

@DigiH DigiH commented Apr 21, 2025

This will need testing and verification with the Docker image and HA Add-on.

The HA Add-on also converts identities to a whole string, which Docker keeps it as a dictionary, same for bindkeys.

Would and should it not be possible and preferable to make any such type format conversions, if and when required, in the projects themselves, so that the underlying config file can be assumed to be identical across all incarnations of Theengs Gateway?

I assume though that it comes from writing any new additions to discovery_filter in the HA Add-on text field, and for Docker it is also already specified as a string in the run arguments

…
 -e DISCOVERY_FILTER="[IBEACON,GAEN,MS-CDP,APPLE_CONT,APPLE_CONTAT]" \
…

Checklist:

  • I have created the pull request against the latest development branch
  • I have added only one feature/fix per PR and the code change compiles without warnings
  • I accept the Developer Certificate of Origin (DCO).

@DigiH DigiH requested a review from 1technophile April 21, 2025 00:57
@DigiH DigiH force-pushed the filter branch 2 times, most recently from a402139 to 50fd625 Compare May 2, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant