ModbusTextSensor(ModbusRegisterType register_type, uint16_t start_address, uint8_t offset, uint8_t register_count, uint16_t response_bytes, RawEncoding encode, uint16_t skip_updates, bool force_new_range)
void set_template(transform_func_t &&f)
std::function< optional< std::string >(ModbusTextSensor *, std::string, const std::vector< uint8_t > &)> transform_func_t