|
ESPHome 2025.10.3
|
#include <sm10bit_base.h>
Public Member Functions | |
| void | set_parent (Sm10BitBase *parent) |
| void | set_channel (uint8_t channel) |
Public Member Functions inherited from esphome::output::FloatOutput | |
| void | set_max_power (float max_power) |
| Set the maximum power output of this component. | |
| void | set_min_power (float min_power) |
| Set the minimum power output of this component. | |
| void | set_zero_means_zero (bool zero_means_zero) |
| Sets this output to ignore min_power for a 0 state. | |
| void | set_level (float state) |
| Set the level of this float output, this is called from the front-end. | |
| virtual void | update_frequency (float frequency) |
| Set the frequency of the output for PWM outputs. | |
| float | get_max_power () const |
| Get the maximum power output. | |
| float | get_min_power () const |
| Get the minimum power output. | |
Public Member Functions inherited from esphome::output::BinaryOutput | |
| void | set_inverted (bool inverted) |
| Set the inversion state of this binary output. | |
| void | set_power_supply (power_supply::PowerSupply *power_supply) |
| Use this to connect up a power supply to this output. | |
| virtual void | set_state (bool state) |
| Enable or disable this binary output. | |
| virtual void | turn_on () |
| Enable this binary output. | |
| virtual void | turn_off () |
| Disable this binary output. | |
| bool | is_inverted () const |
| Return whether this binary output is inverted. | |
Protected Member Functions | |
| void | write_state (float state) override |
Protected Member Functions inherited from esphome::output::FloatOutput | |
| void | write_state (bool state) override |
| Implement BinarySensor's write_enabled; this should never be called. | |
Protected Member Functions inherited from esphome::output::BinaryOutput | |
Protected Attributes | |
| Sm10BitBase * | parent_ |
| uint8_t | channel_ |
Protected Attributes inherited from esphome::output::FloatOutput | |
| float | max_power_ {1.0f} |
| float | min_power_ {0.0f} |
| bool | zero_means_zero_ |
Protected Attributes inherited from esphome::output::BinaryOutput | |
| bool | inverted_ {false} |
| power_supply::PowerSupplyRequester | power_ {} |
Definition at line 31 of file sm10bit_base.h.
|
inline |
Definition at line 34 of file sm10bit_base.h.
|
inline |
Definition at line 33 of file sm10bit_base.h.
|
inlineoverrideprotectedvirtual |
Implements esphome::output::FloatOutput.
Definition at line 37 of file sm10bit_base.h.
|
protected |
Definition at line 43 of file sm10bit_base.h.
|
protected |
Definition at line 42 of file sm10bit_base.h.