function() in the scheduler #2111
-
Hello Write entity RAM float (17.25) to entity RAM as int (17) example: interval_1 is a float and I want it to be stored as an int into interval when I write round(custom/interval1) then npr: round17.25 is written into the interval |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@MichaelDvP we could set a value type to the RAM custom entity. Now it's fixed as DeviceValueType::STRING in WebCustomEntity::update(). And do the conversion in the C++ code to BOOL INT STRING Adding functions to the command/scheduler shunting Yard will be a big change. This is what is supported today: https://emsesp.org/Configuring/#scheduling-actions |
Beta Was this translation helpful? Give feedback.
PS:
round
should work now in https://github.com/MichaelDvP/EMS-ESP32/releases/tag/latest