but it seems the compiler has trouble digesting the initializer
/config/esphome/foo.yaml:146:175: error: no matching function for call to ‘esphome::globals::RestoringGlobalsComponent<long int [7][2]>::RestoringGlobalsComponent()’
Curious what your use case is (something to do with different timers;), and syntax for accessing individual values of the array in a lambda (I assume it is something similar to timers[3][3]?)
compiler now throws:
/config/esphome/esphome-web-b658a0.yaml: In lambda function:
/config/esphome/esphome-web-b658a0.yaml:431:34: error: no match for ‘operator[]’ (operand types are ‘esphome::globals::RestoringGlobalsComponent<int [6][4]>’ and ‘int’)
- lambda: profile_colorvar_a_o_a_r[0][0] = id(o_a_c_1).current_values.get_red()* id(o_a_c_1).current_values.get_brightness() * 255;
^
*** [/data/the-circle/.pioenvs/the-circle/src/main.cpp.o] Error 1