ESPHome
2026.11.0b6
Loading...
Searching...
No Matches
esphome
components
max17048
max17048.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/max170xx/max170xx.h
"
4
#include "
esphome/components/sensor/sensor.h
"
5
6
namespace
esphome::max17048
{
7
8
class
MAX17048Component
final :
public
max170xx::MAX170xxComponent
<max170xx::Model::MODEL_MAX17048> {
9
SUB_SENSOR(battery_voltage)
10
SUB_SENSOR(battery_level)
11
SUB_SENSOR(rate)
12
13
public
:
14
void
dump_config
()
override
;
15
void
update()
override
;
16
};
17
18
}
// namespace esphome::max17048
esphome::Component::dump_config
virtual void dump_config()
Definition
component.cpp:359
esphome::max17048::MAX17048Component
Definition
max17048.h:8
esphome::max170xx::MAX170xxComponent
Defined in max170xx.cpp, which instantiates both models.
Definition
max170xx.h:41
max170xx.h
esphome::max17048
Definition
max17048.cpp:4
sensor.h
Generated by
1.12.0