Skip to content

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

@nommygit

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions