gateway icon indicating copy to clipboard operation
gateway copied to clipboard

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

Open DigiH opened this issue 8 months ago • 0 comments

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:

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

DigiH avatar Apr 21 '25 00:04 DigiH