Modbus->write_coil as an array

Hello,

I’m trying to write multiple coils at the same time.
I read in the documentation that it is possible:

for state:
“(write_coil) A single boolean or an array of booleans. Single boolean will call modbus function code 0x05. Array will call modbus function code 0x0F”
(Modbus - Home Assistant)

but when I tried it I got an error:

There is no errors in logs- only that one in gui.

My device works with function code 0x0F for sure - I checked it using
QModMaster Screenshot by Lightshot

Regards,
Andrew

could someone with the latest version of HA try to call write_coil with an array instead of a boolean variable?

try

state: [ True, False, True, False, ...etc ]

That looks like a schema error and the schema appears to be correct.

Thanks for the suggestion but still the same error: