Skip to content

[Automation] Allow for multiline expressions in 'Import rules' script #94

Description

@nommygit

As discussed here: https://discord.com/channels/558398674389172225/1190169064383991858/1378268470164066306
Allow for something like this:

condition: (eq (sig Signals.A1.Inventory.Water) (sig Signals.A1.Inventory.Water))
action: <<<
    (act Signals.Set 'A1.Inventory.Water.Level' 
        (div 
            (sig Signals.A1.Inventory.Water.Sum) 
            (sig Signals.A1.Inventory.Water.Capacity.Sum)
        )
    )
>>>

It would help improve readability for complex calculations etc but is just aesthetics, so not important.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions