the api example wont work due to new implementation of FixedVector in ESPHome, here is my solution:
actions:
- action: send_raw_command
variables:
command: int[]
then:
- remote_transmitter.transmit_raw:
#' this is not working anymore due to different types conversions command: int[] is now a esphome::FixedVector
#' code: !lambda 'return command;'
#' this is the workaround:
code: !lambda ' std::vector v; v.reserve(command.size()); for (auto &x : command) {v.push_back(x);} return v;'
carrier_frequency: 38000hz