-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Sonoff-Tasmota 6.1.1.12 unable to set variable to "0" #3618
Comments
6.1.1.13 20180828 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618) * Optimizations
Thnx. Regression from 6.1.1.12 |
Unable to test latest fixes due to PlatformIO compile errors: C:/sonota/Sonoff-Tasmota-development/sonoff/xdrv_10_rules.ino: In function 'boolean RulesCommand()': |
Sorry, forgot a file |
Thank you. |
6.1.1.13 20180828 * Fix 6.1.1.12 regression of Mem and Var default handling (arendst#3618) * Optimizations
Fix compile error (arendst#3618)
Describe the bug
A clear and concise description of what the bug is.
Assigning "0" to either a temporally or persistent variable results in an empty variable.
Also, make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
:To Reproduce
Steps to reproduce the behavior:
CMD: mem1 0
MQT: stat/sonoff-TH/RESULT = {"Mem1":""}
CMD: var1 0
MQT: stat/sonoff-TH/RESULT = {"Var1":""}
-or-
with MQTT disabled:
CMD: mem1 0
RSL: RESULT = {"Mem1":""}
CMD: var1 0
RSL: RESULT = {"Var1":""}
Expected behavior
A clear and concise description of what you expected to happen.
CMD: mem1 0
MQT: stat/sonoff/RESULT = {"Mem1":"0"}
CMD: var1 0
MQT: stat/sonoff-TH/RESULT = {"Var1":"0"}
-or-
with MQTT disabled:
CMD: mem1 0
RSL: RESULT = {"Mem1":"0"}
CMD: var1 0
RSL: RESULT = {"Var1":"0"}
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Compiled with core 2.3.0, 2.4.0, 2.4.1 results in same behaviour.
Status 0 output taken from OTA flashed binary; https://thehackbox.org/Sonoff-Tasmota/build/sonoff.bin
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: