add expression output to constrain and map

This commit is contained in:
Loren Norman 2025-08-19 14:05:08 -04:00
parent d8ffcdb989
commit c728e4fac8
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ export default {
description: "Keep any number within specified minimum and maximum boundaries. If the input value is below the minimum, it becomes the minimum. If above the maximum, it becomes the maximum. Perfect for ensuring values stay within expected ranges, creating percentage bounds, or limiting user input to acceptable values.", description: "Keep any number within specified minimum and maximum boundaries. If the input value is below the minimum, it becomes the minimum. If above the maximum, it becomes the maximum. Perfect for ensuring values stay within expected ranges, creating percentage bounds, or limiting user input to acceptable values.",
connections: { connections: {
mode: "value", mode: "value",
output: "number", output: [ "expression", "number" ],
}, },
template: ` template: `
Constrain %VALUE Constrain %VALUE

View file

@ -7,7 +7,7 @@ export default {
description: "Transform sensor readings and data values by scaling them from one number range to another. Essential for IoT projects that need to convert raw sensor data (like 0-1023 from Arduino analog pins) into meaningful units (like 0-100% humidity), or translate between different measurement systems. Perfect for normalizing data, creating percentage values, or adapting sensor outputs to match your specific needs.", description: "Transform sensor readings and data values by scaling them from one number range to another. Essential for IoT projects that need to convert raw sensor data (like 0-1023 from Arduino analog pins) into meaningful units (like 0-100% humidity), or translate between different measurement systems. Perfect for normalizing data, creating percentage values, or adapting sensor outputs to match your specific needs.",
connections: { connections: {
mode: "value", mode: "value",
output: "number", output: [ "expression", "number" ],
}, },
template: ` template: `
Map Map