ESPHome
2026.11.0b6
Loading...
Searching...
No Matches
esphome
components
inkbird_ibsth1_mini
inkbird_ibsth1_mini.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/sensor/sensor.h
"
5
#include "
esphome/components/ble_device_base/ble_device.h
"
6
7
namespace
esphome::inkbird_ibsth1_mini
{
8
9
class
InkbirdIbstH1Mini
final :
public
Component
,
public
ble_device_base::ESPBTDeviceListener
{
10
SUB_SENSOR(
temperature
)
11
SUB_SENSOR(external_temperature)
12
SUB_SENSOR(humidity)
13
SUB_SENSOR(battery_level)
14
15
public
:
16
void
set_address(uint64_t
address
) {
address_
=
address
; }
17
18
bool
parse_device(
const
ble_device_base::ESPBTDevice
&device)
override
;
19
20
void
dump_config()
override
;
21
22
protected
:
23
uint64_t
address_
;
24
};
25
26
}
// namespace esphome::inkbird_ibsth1_mini
ble_device.h
esphome::Component
Definition
component.h:147
esphome::ble_device_base::ESPBTDevice
Definition
ble_device.h:178
esphome::ble_device_base::ESPBTDeviceListener
Definition
ble_device.h:284
esphome::inkbird_ibsth1_mini::InkbirdIbstH1Mini
Definition
inkbird_ibsth1_mini.h:9
esphome::inkbird_ibsth1_mini::InkbirdIbstH1Mini::address_
uint64_t address_
Definition
inkbird_ibsth1_mini.h:23
component.h
esphome::inkbird_ibsth1_mini
Definition
inkbird_ibsth1_mini.cpp:4
esphome::libretiny::address
uint32_t address
Definition
crash_handler.cpp:375
sensor.h
temperature
uint16_t temperature
Definition
sun_gtil2.cpp:12
Generated by
1.12.0