mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 13:04:13 +01:00
[safe_mode] Remove unused capture (#7826)
This commit is contained in:
parent
6c548a1596
commit
46a435f5f2
@ -9,7 +9,7 @@ namespace safe_mode {
|
||||
class SafeModeTrigger : public Trigger<> {
|
||||
public:
|
||||
explicit SafeModeTrigger(SafeModeComponent *parent) {
|
||||
parent->add_on_safe_mode_callback([this, parent]() { trigger(); });
|
||||
parent->add_on_safe_mode_callback([this]() { trigger(); });
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user