mirror of
https://github.com/esphome/esphome.git
synced 2026-02-27 17:34:22 -07:00
All subscribe_home_assistant_state, get_home_assistant_state, and add_state_subscription_ methods were taking std::function by value despite every caller passing a temporary or std::move()'d value. Change to rvalue reference to eliminate unnecessary move+destroy overhead at each forwarding layer.
24 KiB
24 KiB