10namespace modbus_controller {
ESPDEPRECATED("set_retry is deprecated and will be removed in 2026.8.0. Use set_timeout or set_interval instead.", "2026.2.0") void set_retry(const std uint32_t uint8_t std::function< RetryResult(uint8_t)> && f
void set_template(transform_func_t f)
void parse_and_publish(const std::vector< uint8_t > &data) override
optional< transform_func_t > transform_func_
ModbusSensor(ModbusRegisterType register_type, uint16_t start_address, uint8_t offset, uint32_t bitmask, SensorValueType value_type, int register_count, uint16_t skip_updates, bool force_new_range)
void dump_config() override
optional< float >(*)(ModbusSensor *, float, const std::vector< uint8_t > &) transform_func_t
ModbusRegisterType register_type
SensorValueType sensor_value_type
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.
const nullopt_t nullopt((nullopt_t::init()))