ESPHome
2026.6.0-dev
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::atm90e32
{
8
9
class
ATM90E32Number
:
public
number::Number
,
public
Parented
<ATM90E32Component> {
10
public
:
11
void
control
(
float
value)
override
{ this->
publish_state
(value); }
12
};
13
14
}
// namespace esphome::atm90e32
atm90e32.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:1861
esphome::atm90e32::ATM90E32Number
Definition
atm90e32_number.h:9
esphome::atm90e32::ATM90E32Number::control
void control(float value) override
Definition
atm90e32_number.h:11
esphome::number::Number
Base-class for all numbers.
Definition
number.h:29
esphome::number::Number::publish_state
void publish_state(float state)
Definition
number.cpp:22
component.h
esphome::atm90e32
Definition
atm90e32.cpp:8
number.h
Generated by
1.12.0