ESPHome
2025.5.0
Loading...
Searching...
No Matches
esphome
components
atm90e32
number
atm90e32_number.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/atm90e32/atm90e32.h
"
5
#include "
esphome/components/number/number.h
"
6
7
namespace
esphome
{
8
namespace
atm90e32 {
9
10
class
ATM90E32Number
:
public
number::Number
,
public
Parented
<ATM90E32Component> {
11
public
:
12
void
control
(
float
value)
override
{ this->
publish_state
(value); }
13
};
14
15
}
// namespace atm90e32
16
}
// namespace esphome
atm90e32.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:538
esphome::atm90e32::ATM90E32Number
Definition
atm90e32_number.h:10
esphome::atm90e32::ATM90E32Number::control
void control(float value) override
Definition
atm90e32_number.h:12
esphome::number::Number
Base-class for all numbers.
Definition
number.h:39
esphome::number::Number::publish_state
void publish_state(float state)
Definition
number.cpp:9
component.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
number.h
Generated by
1.12.0