You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you want to use Rule Machine with this device, change all the attribute declarations from string to number or else Rule Machine will generate errors trying to compare numbers to strings.
To Reproduce
In Rule Machine, under Manage or Create Conditions I choose Aeotek Energy Meter Gen5. I set an Energy level of 0.5 to compare with and try different Comparison operators to see what happens; some of the results don't make sense, e.g.
Energy level of 22 Oak Aeotec Energy Meter Gen5(18.571) is > 0.5 FALSE
Energy level of 22 Oak Aeotec Energy Meter Gen5(18.571) is >= 0.5 FALSE
In the log file I see the errors, e.g.:
error invalid operand type for 18.571(string) > 0.5(number)
Expected behavior
If you change the declaration of all the attributes from string to number, things work as expected in Rule Machine.
Hub:
Hardware Rev: C7
Software Version: 2.3.4.116
Driver/App Version: 0.1.4
Device Firmware Version (if driver): any
The text was updated successfully, but these errors were encountered:
Describe the bug
If you want to use Rule Machine with this device, change all the attribute declarations from string to number or else Rule Machine will generate errors trying to compare numbers to strings.
To Reproduce
In Rule Machine, under Manage or Create Conditions I choose Aeotek Energy Meter Gen5. I set an Energy level of
0.5
to compare with and try different Comparison operators to see what happens; some of the results don't make sense, e.g.In the log file I see the errors, e.g.:
Expected behavior
If you change the declaration of all the attributes from string to number, things work as expected in Rule Machine.
Hub:
The text was updated successfully, but these errors were encountered: