#include <tuya_light.h>
|
void | update_dimmer_ (uint32_t value) |
|
void | update_switch_ (uint32_t value) |
|
virtual void | call_loop () |
|
virtual void | call_setup () |
|
void | set_interval (const std::string &name, uint32_t interval, std::function< void()> &&f) |
| Set an interval function with a unique name. More...
|
|
void | set_interval (uint32_t interval, std::function< void()> &&f) |
|
bool | cancel_interval (const std::string &name) |
| Cancel an interval function. More...
|
|
void | set_timeout (uint32_t timeout, std::function< void()> &&f) |
|
void | set_timeout (const std::string &name, uint32_t timeout, std::function< void()> &&f) |
| Set a timeout function with a unique name. More...
|
|
bool | cancel_timeout (const std::string &name) |
| Cancel a timeout function. More...
|
|
void | defer (const std::string &name, std::function< void()> &&f) |
| Defer a callback to the next loop() call. More...
|
|
void | defer (std::function< void()> &&f) |
| Defer a callback to the next loop() call. More...
|
|
bool | cancel_defer (const std::string &name) |
| Cancel a defer callback using the specified name, name must not be empty. More...
|
|
Definition at line 10 of file tuya_light.h.
◆ dump_config()
void esphome::tuya::TuyaLight::dump_config |
( |
| ) |
|
|
overridevirtual |
◆ get_traits()
◆ set_dimmer_id()
void esphome::tuya::TuyaLight::set_dimmer_id |
( |
uint8_t |
dimmer_id | ) |
|
|
inline |
◆ set_max_value()
void esphome::tuya::TuyaLight::set_max_value |
( |
uint32_t |
max_value | ) |
|
|
inline |
◆ set_min_value()
void esphome::tuya::TuyaLight::set_min_value |
( |
uint32_t |
min_value | ) |
|
|
inline |
◆ set_switch_id()
void esphome::tuya::TuyaLight::set_switch_id |
( |
uint8_t |
switch_id | ) |
|
|
inline |
◆ set_tuya_parent()
void esphome::tuya::TuyaLight::set_tuya_parent |
( |
Tuya * |
parent | ) |
|
|
inline |
◆ setup()
void esphome::tuya::TuyaLight::setup |
( |
| ) |
|
|
overridevirtual |
◆ setup_state()
◆ update_dimmer_()
void esphome::tuya::TuyaLight::update_dimmer_ |
( |
uint32_t |
value | ) |
|
|
protected |
◆ update_switch_()
void esphome::tuya::TuyaLight::update_switch_ |
( |
uint32_t |
value | ) |
|
|
protected |
◆ write_state()
◆ dimmer_id_
optional<uint8_t> esphome::tuya::TuyaLight::dimmer_id_ {} |
|
protected |
◆ max_value_
uint32_t esphome::tuya::TuyaLight::max_value_ = 255 |
|
protected |
◆ min_value_
uint32_t esphome::tuya::TuyaLight::min_value_ = 0 |
|
protected |
◆ parent_
Tuya* esphome::tuya::TuyaLight::parent_ |
|
protected |
◆ state_
◆ switch_id_
optional<uint8_t> esphome::tuya::TuyaLight::switch_id_ {} |
|
protected |
The documentation for this class was generated from the following files: