mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-03 19:38:30 +02:00
Implement more dump_configs (#791)
This commit is contained in:
@@ -52,6 +52,7 @@ class DFPlayer : public uart::UARTDevice, public Component {
|
||||
void random() { this->send_cmd_(0x18); }
|
||||
|
||||
bool is_playing() { return is_playing_; }
|
||||
void dump_config() override;
|
||||
|
||||
void add_on_finished_playback_callback(std::function<void()> callback) {
|
||||
this->on_finished_playback_callback_.add(std::move(callback));
|
||||
|
||||
Reference in New Issue
Block a user