-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Describe the bug
Keys of type boolean, float or integer are encoded as strings in the mqtt payload.
To Reproduce
Steps to reproduce the behavior:
- Subscribe to your topic on your mqrt broker
- In the LabLog app add a new entry "+ New Key"
- Assign a key name
- Click on "No Type"
- Select "Float" or " Integer" as the type
- Click on "Create Key"
- Return to the app's main screen
- Click on the "+" symbol
- Select the newly generated key
- Add a value
- Click on "Submit & close"
- Look at the payload of the published message on the mqtt client
Expected behavior
A float or integer value should be encoded accordingly, i.e. not as a string, i.e. without the double quotes.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- LabLog version 1.15
Smartphone (please complete the following information):
- Device: Samsung A52
- OS: Android 15
Metadata
Metadata
Assignees
Labels
No labels