title: error: initializing non-owner ... with a newly created 'gsl::owner<>'
body: <p>I am attempting to revive a PR with code that I did not create for ESPHome. It uses deque and complains with a certain message that I don't understand and therefore cannot fix.</p>
  <pre><code>Error: /home/runner/work/esphome/esphome/esphome/components/ezo/ezo.cpp:33:7: error: initializing non-owner 'esphome::ezo::EzoCommand *' with a newly created 'gsl::owner&lt;&gt;' [cppcoreguidelines-owning-memory,-warnings-as-errors]
        EzoCommand *ezo_command = new EzoCommand;
        ^
  Error: /home/runner/work/esphome/esphome/esphome/components/ezo/ezo.cpp:64:7: error: deleting a pointer through a type that is not marked 'gsl::owner&lt;&gt;'; consider using a smart pointer instead [cppcoreguidelines-owning-memory,-warnings-as-errors]
        delete to_run;
        ^
  /home/runner/work/esphome/esphome/esphome/components/ezo/ezo.cpp:54:3: note: variable declared here
    EzoCommand *to_run = this-&gt;commands_.front();
    ^
  </code></pre>
  <p>Is there any expertise with deqeue and memory ownership who can help me? The method in question which causes the issue can be seen here:</p>
  <p><a href="https://github.com/esphome/esphome/blob/80963d534a96ee9b3bd29dd311d1453263b4a730/esphome/components/ezo/ezo.cpp#L49" rel="nofollow noreferrer">https://github.com/esphome/esphome/blob/80963d534a96ee9b3bd29dd311d1453263b4a730/esphome/components/ezo/ezo.cpp#L49</a></p>