mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
Fix Microphone IsCapturingCondition (#6490)
This commit is contained in:
parent
2c67d83976
commit
38233444e7
1 changed files with 1 additions and 1 deletions
|
@ -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(); }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue