Remove MAX17043 component and update to MAX17048 in configuration

This commit is contained in:
Joshua King
2026-02-19 19:51:20 -05:00
parent e7aa4dad9b
commit 7316d9c38b
8 changed files with 2 additions and 288 deletions

View File

@@ -1,20 +0,0 @@
#pragma once
#include "esphome/core/automation.h"
#include "max17043.h"
namespace esphome {
namespace max17043 {
template<typename... Ts> class SleepAction : public Action<Ts...> {
public:
explicit SleepAction(MAX17043Component *max17043) : max17043_(max17043) {}
void play(Ts... x) override { this->max17043_->sleep_mode(); }
protected:
MAX17043Component *max17043_;
};
} // namespace max17043
} // namespace esphome