Skip to content

Commit

Permalink
Fix Microphone IsCapturingCondition (#6490)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaymiiOrg committed Apr 7, 2024
1 parent 2c67d83 commit 3823344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/microphone/automation.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DataTrigger : public Trigger<const std::vector<int16_t> &> {
}
};

template<typename... Ts> class IsCapturingActon : public Condition<Ts...>, public Parented<Microphone> {
template<typename... Ts> class IsCapturingCondition : public Condition<Ts...>, public Parented<Microphone> {
public:
bool check(Ts... x) override { return this->parent_->is_running(); }
};
Expand Down

0 comments on commit 3823344

Please sign in to comment.