14 void setup()
override;
25 void control(
float value)
override;
ESPPreferenceObject pref_
void set_datapoint_initial_value(float value)
void set_datapoint_type(TuyaDatapointType type)
void control(float value) override
void set_write_multiply(float factor)
Base-class for all numbers.
void dump_config() override
void set_restore_value(bool restore_value)
optional< float > initial_value_
Implementation of SPI Controller mode.
void set_tuya_parent(Tuya *parent)
optional< TuyaDatapointType > type_
void set_number_id(uint8_t number_id)