core-api
core-api copied to clipboard
[bug] min_core_api is not checked
Description
I noticed that I can enter any string or version number for min_core_api in the setup json data and it is not checked by the remote when you add the integration to it. Neither the API nor the web configurator give any feedback that the currently used core API is older than the one required by the integration.
How to Reproduce
- Set min_core_api in setup.json to a currently non existing version like 2.0
- Add the integration to the remote
Expected behavior
When adding an integration the API should check if the version number from min_core_api is higher than the core api version on the remote and should inform inform the user in this case via the the web configuratior and/or remote ui.
Your Environment
- Version used:
- Running on:
- [X] Remote Two (FW 1.7.7)
- [X] Simulator (v0.43.0-beta)
- Operating System and version if not running on a remote device: Ubuntu 22.04 (UC VM Image)