I have dynamic text, dependent on the status of three channels- manual_mode, automatic_mode, and maintenance_mode. They are exclusive, meaning, only one is equal to 1 at the time.
I want to allow text input in the dynamic text when the channel manual mode is equal to 1, and forbid the entry/ input when the modes/ channels either automatic_mode or maintenance mode are equal to 1.
You can send a Double.NaN in cases where the command should not pass, or cause an exception in the command with the message that commands are failed only in manual mode.